| FROM python:3.9RUN apt-get update && apt-get -y install cron vimWORKDIR /appCOPY crontab /etc/cron.d/crontabCOPY hello.py /app/hello.pyRUN chmod 0644 /etc/cron.d/crontabRUN /usr/bin/crontab /etc/cron.d/crontab# run crond as main process of containerCMD ["cron", "-f"]
 |