From f1f4c9368b3ba52f7c2e3982402173015ae887a0 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Wed, 15 Jul 2020 15:38:39 +0200 Subject: [PATCH] Set higher php `memory_limit` in docker containers --- 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