Update Dockerfile
Browse files- Dockerfile +7 -6
Dockerfile
CHANGED
|
@@ -7,7 +7,8 @@ RUN apt-get update && \
|
|
| 7 |
apt-get install -y git
|
| 8 |
|
| 9 |
RUN echo "Shrey $PWD"
|
| 10 |
-
RUN apt-get -y install
|
|
|
|
| 11 |
|
| 12 |
# User
|
| 13 |
RUN useradd -m -u 1000 user
|
|
@@ -24,15 +25,15 @@ COPY . $HOME/app
|
|
| 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 |
|
| 30 |
-
RUN unzip ./movie_data_source/sampled_movie_dataset.zip
|
| 31 |
RUN pip3 install --no-cache-dir -r pre-requirements.txt
|
| 32 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 33 |
|
| 34 |
-
RUN rsync -av interactive_tutorials/ ./ --exclude=.git
|
| 35 |
-
RUN chmod -R 755 ./tools
|
| 36 |
|
| 37 |
|
| 38 |
EXPOSE 8501
|
|
|
|
| 7 |
apt-get install -y git
|
| 8 |
|
| 9 |
RUN echo "Shrey $PWD"
|
| 10 |
+
RUN apt-get -y install gcc-9
|
| 11 |
+
#RUN apt-get -y install rsync
|
| 12 |
|
| 13 |
# User
|
| 14 |
RUN useradd -m -u 1000 user
|
|
|
|
| 25 |
#COPY --chown=user:user . /app
|
| 26 |
|
| 27 |
|
| 28 |
+
#RUN git clone -b oasis_connector --single-branch https://github.com/arangodb/interactive_tutorials.git
|
| 29 |
+
#RUN git clone -b movie-data-source --single-branch https://github.com/arangodb/interactive_tutorials.git movie_data_source
|
| 30 |
|
| 31 |
+
#RUN unzip ./movie_data_source/sampled_movie_dataset.zip
|
| 32 |
RUN pip3 install --no-cache-dir -r pre-requirements.txt
|
| 33 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 34 |
|
| 35 |
+
#RUN rsync -av interactive_tutorials/ ./ --exclude=.git
|
| 36 |
+
#RUN chmod -R 755 ./tools
|
| 37 |
|
| 38 |
|
| 39 |
EXPOSE 8501
|