birb-scheduler/Dockerfile

13 lines
302 B
Docker

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"]