add dockerfile
This commit is contained in:
parent
89575a69c5
commit
8e99fbe529
10
Dockerfile
Normal file
10
Dockerfile
Normal 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
2
requirements.txt
Normal file
|
|
@ -0,0 +1,2 @@
|
||||||
|
toml==0.10.2
|
||||||
|
requests~=2.31.0
|
||||||
Loading…
Reference in New Issue
Block a user