Update Dockerfile
Browse files- Dockerfile +4 -3
Dockerfile
CHANGED
@@ -12,13 +12,14 @@ RUN echo "Shrey $PWD"
|
|
12 |
RUN apt-get -y install rsync
|
13 |
RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
|
14 |
RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
|
15 |
-
|
16 |
-
RUN ls
|
17 |
-
RUN chmod -R 755 ./tools
|
18 |
RUN unzip ./movie_data_source/sampled_movie_dataset.zip
|
19 |
RUN pip3 install --no-cache-dir -r pre-requirements.txt
|
20 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
21 |
|
|
|
|
|
|
|
22 |
# User
|
23 |
#RUN useradd -m -u 1000 user
|
24 |
#USER user
|
|
|
12 |
RUN apt-get -y install rsync
|
13 |
RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
|
14 |
RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
|
15 |
+
|
|
|
|
|
16 |
RUN unzip ./movie_data_source/sampled_movie_dataset.zip
|
17 |
RUN pip3 install --no-cache-dir -r pre-requirements.txt
|
18 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
19 |
|
20 |
+
CMD rsync -av interactive_tutorials/ ./ --exclude=.git
|
21 |
+
CMD chmod -R 755 ./tools
|
22 |
+
|
23 |
# User
|
24 |
#RUN useradd -m -u 1000 user
|
25 |
#USER user
|