From 8e1f71834bffd59c02bee90830a008c765b5175b Mon Sep 17 00:00:00 2001 From: Debian Date: Thu, 5 Sep 2019 13:11:47 +0000 Subject: [PATCH] Disable cron & alternate entrypoint --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index cce1052..9fe6f37 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,11 +3,11 @@ #FROM nextcloud:13.0.12 FROM nextcloud:14 -RUN apt-get update && \ - apt-get install -q -y cron && \ - apt-get clean +#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 +# 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 +# CMD cron && apache2-foreground