Dockerfile: run as user 1000 by default.
Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
parent
de13265915
commit
a2cb80c377
@ -8,4 +8,6 @@ COPY main.py requirements.txt ./
|
|||||||
|
|
||||||
RUN pip install --no-cache-dir -r requirements.txt
|
RUN pip install --no-cache-dir -r requirements.txt
|
||||||
|
|
||||||
|
USER 1000:1000
|
||||||
|
|
||||||
CMD ["python", "./main.py"]
|
CMD ["python", "./main.py"]
|
||||||
|
Loading…
Reference in New Issue
Block a user