Skip to content

Instantly share code, notes, and snippets.

View jinyin-ihealth's full-sized avatar

jinyin-ihealth

View GitHub Profile
@jinyin-ihealth
jinyin-ihealth / Dockerfile
Created September 29, 2020 20:07 — forked from athlan/Dockerfile
Docker cron env variables
FROM XXXX
#Install cron
RUN apt-get update; \
apt-get install -y cron; \
apt-get clean; \
touch /var/log/cron.log
COPY crontab.txt /etc/cron.d/crontab
COPY run-cron.sh /usr/local/app/entrypoint/run-cron.sh