Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
@@ -27,7 +27,10 @@ RUN apt-get update && \
|
|
27 |
# Now, create and switch to the non-root user
|
28 |
RUN useradd -m -u 1000 user
|
29 |
USER user
|
30 |
-
|
|
|
|
|
|
|
31 |
|
32 |
# Set the working directory in the container (as the non-root user)
|
33 |
WORKDIR /app
|
|
|
27 |
# Now, create and switch to the non-root user
|
28 |
RUN useradd -m -u 1000 user
|
29 |
USER user
|
30 |
+
|
31 |
+
# Set PATH for the non-root user
|
32 |
+
# Comments for ENV should be on a separate line above
|
33 |
+
ENV PATH="/home/user/.local/bin:${PATH}"
|
34 |
|
35 |
# Set the working directory in the container (as the non-root user)
|
36 |
WORKDIR /app
|