FROM python:slim RUN mkdir /app RUN mkdir /data WORKDIR /app COPY requirements.txt . RUN pip install --no-cache-dir -r requirements.txt RUN apt update -y RUN apt install -y cron COPY crontab . RUN crontab crontab COPY main.py .