Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -16,6 +16,9 @@ RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
|
|
16 |
RUN useradd -m -u 1000 user
|
17 |
# Switch to the "user" user
|
18 |
USER user
|
|
|
|
|
|
|
19 |
|
20 |
|
21 |
|
|
|
16 |
RUN useradd -m -u 1000 user
|
17 |
# Switch to the "user" user
|
18 |
USER user
|
19 |
+
# Set home to the user's home directory
|
20 |
+
ENV HOME=/home/user \
|
21 |
+
PATH=/home/user/.local/bin:$PATH
|
22 |
|
23 |
|
24 |
|