daojeil commited on
Commit
a5a2cca
·
verified ·
1 Parent(s): 1e9face

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -167,8 +167,9 @@ RUN echo "* * * * * /app/cron-job.sh >> /var/log/cron.log 2>&1" > /etc/cron.d/we
167
 
168
  # Give execution rights on the cron job
169
  RUN chmod 777 /etc/cron.d/webui-cron
170
- RUN chmod gu+rw /var/run
171
- RUN chmod gu+s /usr/sbin/cron
 
172
 
173
  # Apply the cron job
174
  RUN crontab /etc/cron.d/webui-cron
 
167
 
168
  # Give execution rights on the cron job
169
  RUN chmod 777 /etc/cron.d/webui-cron
170
+ RUN chmod 777 /var/run
171
+ RUN chmod 777 /usr/sbin/cron
172
+ RUN touch /etc/crontab /etc/cron.*/*
173
 
174
  # Apply the cron job
175
  RUN crontab /etc/cron.d/webui-cron