Fix crontab inclusion

This commit is contained in:
madmaurice 2017-09-10 13:13:34 +02:00 committed by Hive
parent 47f6479c40
commit 9e0beb46aa
2 changed files with 3 additions and 2 deletions
webservice

View file

@ -82,11 +82,11 @@ RUN \
rm /tmp/nextcloud.tar.bz2
# Add supervisor and cron config
ADD crontab /etc/crontab
ADD crontab /opt/crontab
ADD supervisord.conf /etc/supervisor/conf.d/supervisord.conf
ADD update-htaccess.sh /update-htaccess.sh
RUN chmod +x /update-htaccess.sh
RUN crontab /opt/crontab && chmod +x /update-htaccess.sh
VOLUME ["/var/www/html/config","/var/www/html/data"]