Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
|
|
|
|
|
| 1 |
# Set up a new user named "user" with user ID 1000
|
| 2 |
RUN useradd -m -u 1000 user
|
| 3 |
|
|
@@ -8,8 +10,6 @@ USER user
|
|
| 8 |
ENV HOME=/home/user \
|
| 9 |
PATH=/home/user/.local/bin:$PATH
|
| 10 |
|
| 11 |
-
FROM python:3.9
|
| 12 |
-
|
| 13 |
# Set the working directory to the user's home directory
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|
|
|
|
| 1 |
+
FROM python:3.9
|
| 2 |
+
|
| 3 |
# Set up a new user named "user" with user ID 1000
|
| 4 |
RUN useradd -m -u 1000 user
|
| 5 |
|
|
|
|
| 10 |
ENV HOME=/home/user \
|
| 11 |
PATH=/home/user/.local/bin:$PATH
|
| 12 |
|
|
|
|
|
|
|
| 13 |
# Set the working directory to the user's home directory
|
| 14 |
WORKDIR $HOME/app
|
| 15 |
|