tuna2134
commited on
Commit
•
f23f30f
1
Parent(s):
8f769cc
add
Browse files- Dockerfile +2 -0
Dockerfile
CHANGED
@@ -2,6 +2,8 @@ FROM python:3
|
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
|
|
|
|
5 |
WORKDIR /home/user/app
|
6 |
|
7 |
COPY --chown=user requirements.txt .
|
|
|
2 |
|
3 |
RUN useradd -m -u 1000 user
|
4 |
|
5 |
+
USER user
|
6 |
+
|
7 |
WORKDIR /home/user/app
|
8 |
|
9 |
COPY --chown=user requirements.txt .
|