From eb4a0ff5756b2d0b2d9b6c5243194cacf55fa323 Mon Sep 17 00:00:00 2001 From: Christophe Jossart Date: Wed, 13 Nov 2024 17:23:28 +0100 Subject: [PATCH] fix: php memory limit units --- .lagoon/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.lagoon/Dockerfile b/.lagoon/Dockerfile index d7ac15c95..2a0319b1a 100644 --- a/.lagoon/Dockerfile +++ b/.lagoon/Dockerfile @@ -65,7 +65,8 @@ COPY --from=builder /tmp/.deploy/cms /app WORKDIR /app ENV WEBROOT=web -ENV PHP_MEMORY_LIMIT=2048 +# To not meet OOM on Drupal config import. +ENV PHP_MEMORY_LIMIT=2048M # ==================================================================================================== # PHP IMAGE @@ -79,7 +80,8 @@ COPY --from=cli /app /app WORKDIR /app ENV WEBROOT=web -ENV PHP_MEMORY_LIMIT=2048 +# Keep EX nice when running static builds. +ENV PHP_MEMORY_LIMIT=2048M # ==================================================================================================== # NGINX IMAGE