Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -1,18 +1,18 @@
|
|
1 |
FROM python:3.8.9
|
2 |
|
3 |
-
WORKDIR
|
4 |
|
5 |
-
COPY .
|
6 |
|
7 |
RUN apt-get update && \
|
8 |
apt-get upgrade -y && \
|
9 |
apt-get install -y git
|
10 |
|
11 |
RUN echo "Shrey $PWD"
|
12 |
-
|
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
|
|
|
1 |
FROM python:3.8.9
|
2 |
|
3 |
+
WORKDIR /app
|
4 |
|
5 |
+
COPY . /app
|
6 |
|
7 |
RUN apt-get update && \
|
8 |
apt-get upgrade -y && \
|
9 |
apt-get install -y git
|
10 |
|
11 |
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 |
+
RUN rsync -av interactive_tutorials/ ./ --exclude=.git
|
16 |
RUN ls
|
17 |
RUN chmod -R 755 ./tools
|
18 |
RUN unzip ./movie_data_source/sampled_movie_dataset.zip
|