Update Dockerfile
Browse files- Dockerfile +7 -6
Dockerfile
CHANGED
|
@@ -2,6 +2,13 @@ FROM python:3.8.9
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
# User
|
| 6 |
RUN useradd -m -u 1000 user
|
| 7 |
USER user
|
|
@@ -16,13 +23,7 @@ COPY . $HOME/app
|
|
| 16 |
#COPY . .
|
| 17 |
#COPY --chown=user:user . /app
|
| 18 |
|
| 19 |
-
RUN apt-get update && \
|
| 20 |
-
apt-get upgrade -y && \
|
| 21 |
-
apt-get install -y git
|
| 22 |
|
| 23 |
-
|
| 24 |
-
RUN echo "Shrey $PWD"
|
| 25 |
-
RUN apt-get -y install rsync
|
| 26 |
RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
|
| 27 |
RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
|
| 28 |
|
|
|
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN apt-get update && \
|
| 6 |
+
apt-get upgrade -y && \
|
| 7 |
+
apt-get install -y git
|
| 8 |
+
|
| 9 |
+
RUN echo "Shrey $PWD"
|
| 10 |
+
RUN apt-get -y install rsync
|
| 11 |
+
|
| 12 |
# User
|
| 13 |
RUN useradd -m -u 1000 user
|
| 14 |
USER user
|
|
|
|
| 23 |
#COPY . .
|
| 24 |
#COPY --chown=user:user . /app
|
| 25 |
|
|
|
|
|
|
|
|
|
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
|
| 28 |
RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
|
| 29 |
|