From 34357687bf8205bba455199bbae29c1f48656a24 Mon Sep 17 00:00:00 2001 From: William Miceli <1-WilliamMiceli@git.williammiceli.systems> Date: Thu, 16 May 2019 23:49:30 -0400 Subject: [PATCH] Changed crontab to be for nginx user, not root --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index d166b13..f26f734 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN apk add --no-cache \ php7-simplexml \ php7-xml \ php7-zip \ - && (crontab -l; echo "* * * * * cd /var/www;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab - + && (crontab -l; echo "* * * * * cd /var/www;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -u nginx - # Install Grav Into The Root Web Directory RUN mkdir -p /var/www \