From ea3a0f39184018e45357f74fc72a7741b899dc49 Mon Sep 17 00:00:00 2001 From: Jeroen De Meerleer Date: Fri, 14 Feb 2025 10:17:11 +0100 Subject: [PATCH] Update PHP config for memory limit Added a new configuration to set the PHP memory limit to unlimited. This change helps prevent memory-related issues during execution. --- Dockerfile.webui | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile.webui b/Dockerfile.webui index 64c58ea..671732f 100644 --- a/Dockerfile.webui +++ b/Dockerfile.webui @@ -35,6 +35,7 @@ RUN set -eux;install-php-extensions zip RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone RUN mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini" RUN printf "[PHP]\ndate.timezone = \"$TZ\"\n" > /usr/local/etc/php/conf.d/tzone.ini +RUN printf "[PHP]\nmemory_limit = -1\n" > /usr/local/etc/php/conf.d/zzz-memory-limit.ini COPY wait-for-it.sh /usr/local/bin/wait-for-it.sh COPY apache2-foreground /usr/local/bin/apache2-foreground