Skip to content

Commit

Permalink
improving order and grouping of dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
EvanDietzMorris committed Aug 17, 2022
1 parent 31e258b commit f999588
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
# A docker container with neo4j, java and python for Data Services
FROM neo4j:4.3.16

COPY ./requirements.txt /Data_services/requirements.txt
RUN apt-get update \
&& apt-get -y install rsync \
&& apt-get -y install python3 \
&& apt-get -y install python-is-python3 \
&& apt-get -y install python3-pip \
&& apt-get -y install git

RUN apt update
RUN apt-get -y install rsync
RUN apt-get -y install python3
RUN apt-get -y install python-is-python3
RUN apt-get -y install python3-pip
RUN apt-get -y install git
COPY ./requirements.txt /Data_services/requirements.txt

RUN pip3 install -r /Data_services/requirements.txt

COPY . /Data_services/.

ENV PYTHONPATH "/Data_services"

CMD ["neo4j"]
ENV PYTHONPATH "$PYTHONPATH:/Data_services"

0 comments on commit f999588

Please sign in to comment.