Spaces:
Sleeping
Sleeping
unknown
commited on
Commit
•
9ad39b3
1
Parent(s):
c1cf8a7
hehe
Browse files- Dockerfile +2 -4
Dockerfile
CHANGED
@@ -17,11 +17,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
20 |
-
# Switch to the "user" user
|
21 |
USER user
|
22 |
-
|
23 |
-
ENV
|
24 |
-
PATH=/home/user/.local/bin:$PATH
|
25 |
|
26 |
# Set the working directory to the user's home directory
|
27 |
WORKDIR $HOME/app
|
|
|
17 |
|
18 |
# Set up a new user named "user" with user ID 1000
|
19 |
RUN useradd -m -u 1000 user
|
|
|
20 |
USER user
|
21 |
+
ENV HOME=/home/user
|
22 |
+
ENV PATH=/home/user/.local/bin:$PATH
|
|
|
23 |
|
24 |
# Set the working directory to the user's home directory
|
25 |
WORKDIR $HOME/app
|