FROM python:alpine as base WORKDIR /app COPY . . RUN crontab autopkg.cron RUN pip install --no-cache-dir -r requirements.txt CMD crond -f && python main.py