Spaces:
Sleeping
Sleeping
hoshoo21
commited on
Commit
·
ba4377f
1
Parent(s):
6545ced
docker file fix
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
FROM python:3.12.7
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
# Step 2: Set working directory in the container
|
| 4 |
WORKDIR /app
|
| 5 |
|
|
|
|
| 1 |
FROM python:3.12.7
|
| 2 |
|
| 3 |
+
RUN useradd -m -u 1000 user
|
| 4 |
+
USER user
|
| 5 |
+
ENV PATH="/home/user/.local/bin:$PATH"
|
| 6 |
+
|
| 7 |
# Step 2: Set working directory in the container
|
| 8 |
WORKDIR /app
|
| 9 |
|