From f088b208639cd8b4a1a7deff448986201dcf13f7 Mon Sep 17 00:00:00 2001 From: Debian Date: Fri, 6 Sep 2019 10:33:56 +0000 Subject: [PATCH] Update --- Dockerfile | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Dockerfile b/Dockerfile index ffd42c4..29f8b20 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM owncloud/server:10.1 -# RUN apt-get update && \ -# apt-get install -q -y cron && \ -# apt-get clean -# -# RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab -# -# CMD cron && apache2-foreground +RUN apt-get update && \ + apt-get install -q -y cron && \ + apt-get clean + +RUN echo "*/15 * * * * root su -l www-data -s /bin/bash -c 'php -f /var/www/html/cron.php' > /dev/null 2>&1" >> /etc/crontab + +CMD cron && apache2-foreground