Dockerfile: run as user 1000 by default.

Signed-off-by: Abdulkadir Furkan Şanlı <me@abdulocra.cy>
This commit is contained in:
Abdulkadir Furkan Şanlı 2024-01-22 00:10:29 +01:00
parent de13265915
commit a2cb80c377
Signed by: afk
SSH Key Fingerprint: SHA256:s1hULLl4YWdqU501MUfGe1CAG/m1pf9Cs6vFsqeTNHk

View File

@ -8,4 +8,6 @@ COPY main.py requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
USER 1000:1000
CMD ["python", "./main.py"]