From 5f1a54a6878874ca221a8e08e0282b12586d8051 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sun, 27 Sep 2020 17:53:55 +0300 Subject: [PATCH] increase memory limit for php CLI processes --- src/app/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/Dockerfile b/src/app/Dockerfile index 20a1961..9fcff5b 100644 --- a/src/app/Dockerfile +++ b/src/app/Dockerfile @@ -14,6 +14,7 @@ ADD index.php / ADD build-prepare.sh / RUN sed -i.bak 's/^listen = 127.0.0.1:9000/listen = 9000/' /etc/php7/php-fpm.d/www.conf +RUN sed -i.bak 's/\(memory_limit =\) 128M/\1 256M/' /etc/php7/php.ini RUN sh -c /build-prepare.sh