From d545225e3632cd1de9323b242281cbea5c6d26fb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E4=B8=9C=E4=BA=91?= Date: Wed, 8 Jun 2022 20:59:45 +0800 Subject: [PATCH] =?UTF-8?q?feat(php=5Fini):=20=E2=9C=A8=20=E5=A2=9E?= =?UTF-8?q?=E5=8A=A0=E4=B8=8A=E4=BC=A0=E5=92=8C=E5=86=85=E5=AD=98=E5=A4=A7?= =?UTF-8?q?=E5=B0=8F=E7=9A=84=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 7.4/Dockerfile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/7.4/Dockerfile b/7.4/Dockerfile index c003204..b720e53 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -33,4 +33,7 @@ RUN apk add --no-cache \ libpng-dev \ libjpeg-turbo-dev \ && rm /var/cache/apk/* \ - && chown -R www-data:www-data /srv + && chown -R www-data:www-data /srv \ + && echo "upload_max_filesize=200M" > /usr/local/etc/php/conf.d/99_overrides.ini \ + && echo "post_max_size=200M" >> /usr/local/etc/php/conf.d/99_overrides.ini \ + && echo "memory_limit=2G" >> /usr/local/etc/php/conf.d/99_overrides.ini \ No newline at end of file