diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..d156f67 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file