From 85ba85627ee32b2d29cad2033cba6b18ae725294 Mon Sep 17 00:00:00 2001 From: Robin Windey Date: Sun, 23 Jun 2024 20:27:23 +0200 Subject: Increase PHP memory limit for DevContainer to 512mb Signed-off-by: Robin Windey --- .devcontainer/Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 3ff0a141480..33a6f2e4e76 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -52,6 +52,9 @@ RUN { \ echo "xdebug.start_with_request=yes"; \ } >> /etc/php/8.3/apache2/conf.d/20-xdebug.ini +# Increase PHP memory limit to 512mb +RUN sed -i 's/memory_limit = .*/memory_limit = 512M/' /etc/php/8.3/apache2/php.ini + # Docker RUN apt-get -y install \ apt-transport-https \ -- cgit v1.2.3