Skip to content

Commit

Permalink
Raise memory limit by adding a .ini file
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmata committed Feb 5, 2022
1 parent 607b742 commit cf81ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /var/www/html
RUN apt-get update \
&& apt-get install -y gnupg mariadb-client libicu-dev libpq-dev libzip-dev postgresql-client unzip wget zip zlib1g-dev

ENV PHP_MEMORY_LIMIT=256M
RUN echo 'memory_limit=256M' > /usr/local/etc/php/conf.d/memory-limit.ini

# Install php packages
RUN docker-php-ext-install intl opcache pdo_mysql pdo_pgsql zip
Expand Down

0 comments on commit cf81ba7

Please sign in to comment.