add dockerfile

This commit is contained in:
Stefan Regnery 2023-09-18 16:14:31 +02:00
parent 89575a69c5
commit 8e99fbe529
2 changed files with 12 additions and 0 deletions

10
Dockerfile Normal file
View File

@ -0,0 +1,10 @@
FROM python:3.10
RUN adduser --disabled-password --gecos "" python
USER python
COPY *.py requirements.txt /
RUN pip --disable-pip-version-check install -r requirements.txt
ENTRYPOINT ["python", "run.py"]

2
requirements.txt Normal file
View File

@ -0,0 +1,2 @@
toml==0.10.2
requests~=2.31.0