Fixed having duplicate cron run-parts jobs for root and nginx
This commit is contained in:
@@ -21,7 +21,7 @@ RUN apk add --no-cache \
|
|||||||
php7-simplexml \
|
php7-simplexml \
|
||||||
php7-xml \
|
php7-xml \
|
||||||
php7-zip \
|
php7-zip \
|
||||||
&& (crontab -l; echo "* * * * * cd /var/www;/usr/bin/php bin/grav scheduler 1>> /dev/null 2>&1") | crontab -u nginx -
|
&& (crontab -u nginx -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
|
# Install Grav Into The Root Web Directory
|
||||||
RUN mkdir -p /var/www \
|
RUN mkdir -p /var/www \
|
||||||
|
|||||||
Reference in New Issue
Block a user