From a75f13ac57ecdbd88849587027491fc16f423da8 Mon Sep 17 00:00:00 2001 From: Lennard Brinkhaus Date: Thu, 24 Nov 2022 17:15:44 +0100 Subject: [PATCH] feat: add more upload file size --- 7.4/Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/7.4/Dockerfile b/7.4/Dockerfile index 3c4b854..fe23cb5 100644 --- a/7.4/Dockerfile +++ b/7.4/Dockerfile @@ -199,6 +199,10 @@ RUN set -eux; \ # smoke test php --version +RUN touch /usr/local/etc/php/conf.d/uploads.ini \ + && echo "upload_max_filesize = 50M;" >> /usr/local/etc/php/conf.d/uploads.ini \ + && echp "post_max_size = 50M;" >> /usr/local/etc/php/conf.d/uploads.ini + COPY docker-php-ext-* docker-php-entrypoint /usr/local/bin/ COPY --from=mlocati/php-extension-installer /usr/bin/install-php-extensions /usr/local/bin/