Spaces:
Running
Running
Upload 3 files
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -14,11 +14,11 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
14 |
RUN useradd user
|
15 |
|
16 |
#switch the user to user
|
17 |
-
|
18 |
|
19 |
#set home to the user home directory
|
20 |
ENV HOME=/home/user \
|
21 |
-
PATH=/
|
22 |
|
23 |
##update working dir
|
24 |
WORKDIR $HOME/app
|
|
|
14 |
RUN useradd user
|
15 |
|
16 |
#switch the user to user
|
17 |
+
USER user
|
18 |
|
19 |
#set home to the user home directory
|
20 |
ENV HOME=/home/user \
|
21 |
+
PATH=/home/user/.local/bin:$PATH
|
22 |
|
23 |
##update working dir
|
24 |
WORKDIR $HOME/app
|