Skip to content

Commit

Permalink
Set higher php memory_limit in docker containers (#219)
Browse files Browse the repository at this point in the history
  • Loading branch information
karniv00l authored Jul 16, 2020
1 parent 61e39aa commit 7f2e441
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 7f2e441

Please sign in to comment.