From 7f2e44170c045089b84e2ba1a2dd2c3f4e7ed8c6 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Thu, 16 Jul 2020 08:16:41 +0200 Subject: [PATCH] Set higher php `memory_limit` in docker containers (#219) --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 18e7c356..50a2d289 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,6 +33,9 @@ RUN ln -snf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime && \ printf '[PHP]\ndate.timezone = "%s"\n', "$TIMEZONE" > \ /usr/local/etc/php/conf.d/tzone.ini && "date" +# set memory limit +RUN echo "memory_limit=512M" > /usr/local/etc/php/conf.d/memory-limit.ini + # automatically add new host keys to the user known hosts RUN printf "Host *\n StrictHostKeyChecking no" > /etc/ssh/ssh_config