-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
improving order and grouping of dockerfile
- Loading branch information
1 parent
31e258b
commit f999588
Showing
1 changed file
with
8 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |