Files
docker/cron/Dockerfile
T
2019-09-14 23:57:48 +00:00

7 lines
195 B
Docker

FROM python:3-alpine
#alpine + python3 + cron(from alpine)
#only cron this
RUN echo '* * * * * python3 /var/www/html/sam/src/run_daemon.py' > /etc/crontabs/root
CMD ["crond", "-l 2", "-f"]