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