Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -54,7 +54,7 @@ ENV HOME=/home/user \
|
|
54 |
#WORKDIR $HOME/app
|
55 |
#RUN chmod -R 755 $HOME/app
|
56 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
57 |
-
|
58 |
RUN python -m pip install --upgrade pip
|
59 |
# Install requirements.txt
|
60 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
54 |
#WORKDIR $HOME/app
|
55 |
#RUN chmod -R 755 $HOME/app
|
56 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
57 |
+
COPY --chown=user . $HOME/app
|
58 |
RUN python -m pip install --upgrade pip
|
59 |
# Install requirements.txt
|
60 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|