Added dockefile

This commit is contained in:
Pünkösd Marcell 2021-12-12 00:47:27 +01:00
parent 3a4a0758c8
commit b38ee239ef
1 changed files with 13 additions and 0 deletions

13
Dockerfile Normal file
View File

@ -0,0 +1,13 @@
FROM python:3.9-slim
ENV PIP_NO_CACHE_DIR=true
ENV TZ Europe/Budapest
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
ADD birb_scheduler requirements.txt /birb_scheduler/
WORKDIR /birb_scheduler/
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "main.py"]