Commit
·
576c948
1
Parent(s):
689e893
fixing user
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -19,10 +19,10 @@ ENV HOME=/home/user \
|
|
| 19 |
# Set the working directory to the user's home directory
|
| 20 |
WORKDIR $HOME/app
|
| 21 |
|
| 22 |
-
COPY requirements.txt ./
|
| 23 |
RUN pip3 install -r requirements.txt
|
| 24 |
|
| 25 |
-
COPY . .
|
| 26 |
|
| 27 |
EXPOSE 8501
|
| 28 |
|
|
|
|
| 19 |
# Set the working directory to the user's home directory
|
| 20 |
WORKDIR $HOME/app
|
| 21 |
|
| 22 |
+
COPY --chown=user requirements.txt ./
|
| 23 |
RUN pip3 install -r requirements.txt
|
| 24 |
|
| 25 |
+
COPY --chown=user . .
|
| 26 |
|
| 27 |
EXPOSE 8501
|
| 28 |
|