docker: Update PHP_UPLOAD_LIMIT to 1800M
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Glenn Y. Rolland 2023-03-14 13:13:11 +01:00
parent 7381845b87
commit c4ebbb02c8

View file

@ -58,6 +58,7 @@ RUN apt-get update && apt-get install -y \
## Raise memory limit for PHP
##
ENV PHP_MEMORY_LIMIT=1024M
ENV PHP_UPLOAD_LIMIT=1800M
RUN echo 'memory_limit=1024M' \
> /usr/local/etc/php/conf.d/memory-limit.ini \
&& echo '*/5 * * * * php -d memory_limit=1024M -f /var/www/html/cron.php' \