From 5bb1b0643c26565efd029ace77516e9535c9e48c Mon Sep 17 00:00:00 2001 From: Mayank Date: Fri, 8 Jul 2022 18:53:20 +0530 Subject: [PATCH] Update Dockerfile-debian.template https://github.com/nextcloud/docker/issues/1413 Memory issue while runnig cron as www-data in Docker image --- Dockerfile-debian.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-debian.template b/Dockerfile-debian.template index 2f60e3b9..443f0fb0 100644 --- a/Dockerfile-debian.template +++ b/Dockerfile-debian.template @@ -13,7 +13,7 @@ RUN set -ex; \ rm -rf /var/lib/apt/lists/*; \ \ mkdir -p /var/spool/cron/crontabs; \ - echo '*/%%CRONTAB_INT%% * * * * php -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data + echo '*/%%CRONTAB_INT%% * * * * php -d memory_limit=-1 -f /var/www/html/cron.php' > /var/spool/cron/crontabs/www-data # install the PHP extensions we need # see https://docs.nextcloud.com/server/stable/admin_manual/installation/source_installation.html