aboutsummaryrefslogtreecommitdiffstats
path: root/.devcontainer
diff options
context:
space:
mode:
authorRobin Windey <ro.windey@gmail.com>2024-06-23 20:27:23 +0200
committerGitHub <noreply@github.com>2024-06-23 20:27:23 +0200
commit85ba85627ee32b2d29cad2033cba6b18ae725294 (patch)
tree9b9a59f4234f44633cd36c61cc9d76c2dc730bf7 /.devcontainer
parentff92ab1fb1efbccac8e8f7cce4f1f6e8c050e5a5 (diff)
downloadnextcloud-server-85ba85627ee32b2d29cad2033cba6b18ae725294.tar.gz
nextcloud-server-85ba85627ee32b2d29cad2033cba6b18ae725294.zip
Increase PHP memory limit for DevContainer to 512mb
Signed-off-by: Robin Windey <ro.windey@gmail.com>
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/Dockerfile3
1 files changed, 3 insertions, 0 deletions
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 \