Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -18,7 +18,8 @@ RUN useradd -m -u 1000 user
|
|
18 |
# Switch to the "user" user
|
19 |
USER user
|
20 |
# Set home to the user's home directory
|
21 |
-
ENV HOME=/home/user
|
|
|
22 |
|
23 |
# Set the working directory to the user's home directory
|
24 |
WORKDIR $HOME/app
|
|
|
18 |
# Switch to the "user" user
|
19 |
USER user
|
20 |
# Set home to the user's home directory
|
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
|