increase memory limit for php CLI processes

legacy-php5
Andrew Dolgov 4 years ago
parent 1ddb509fb9
commit 1eff29a23f

@ -13,6 +13,7 @@ ADD updater.sh /
ADD index.php / ADD index.php /
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/^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 mkdir -p /var/www RUN mkdir -p /var/www

Loading…
Cancel
Save