Spaces:
Running
Running
luanpoppe
commited on
Commit
·
fbd71a3
1
Parent(s):
307b3b4
feat
Browse files- Dockerfile +5 -1
Dockerfile
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
FROM python:3.12
|
2 |
|
3 |
-
|
|
|
|
|
|
|
|
|
4 |
|
5 |
WORKDIR /app
|
6 |
|
|
|
1 |
FROM python:3.12
|
2 |
|
3 |
+
RUN useradd -m -u 1000 user
|
4 |
+
USER user
|
5 |
+
ENV PATH="/home/user/.local/bin:$PATH"
|
6 |
+
|
7 |
+
COPY --chown=user . ./app
|
8 |
|
9 |
WORKDIR /app
|
10 |
|