From fc263af308b8b96a9f3e67a031ad874ca76d2c89 Mon Sep 17 00:00:00 2001 From: Mayank Date: Fri, 8 Jul 2022 18:55:16 +0530 Subject: [PATCH] fix: (php Memory limit) https://github.com/nextcloud/docker/issues/1413 --- Dockerfile-alpine.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile-alpine.template b/Dockerfile-alpine.template index ba325164..821dc136 100644 --- a/Dockerfile-alpine.template +++ b/Dockerfile-alpine.template @@ -8,7 +8,7 @@ RUN set -ex; \ ; \ \ rm /var/spool/cron/crontabs/root; \ - 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