2025-02-17 13:30:00 +01:00

12 lines
243 B
Docker

FROM python:3-alpine
COPY requirements.txt /code/requirements.txt
RUN pip install -r /code/requirements.txt
RUN echo '0 1,13 * * * python3 /code/main.py' | crontab -
COPY . /code
WORKDIR /code
EXPOSE 5000
ENTRYPOINT ["/code/entrypoint.sh"]