From 0ba01e2400254bd28067d6b6402b9ae685da1fd6 Mon Sep 17 00:00:00 2001 From: RemRem Date: Fri, 10 Nov 2023 11:03:18 +0100 Subject: [PATCH] upd php.ini --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 4183d36..5e0e389 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,6 +5,7 @@ COPY . /var/www/html/ WORKDIR /var/www/html/ RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/local/bin --filename=composer RUN composer update && composer install +RUN php --ini RUN sed -i '/upload_max_filesize/s/.*/upload_max_filesize\ = 64M/g' /etc/php/php.ini RUN sed -i '/post_max_size/s/.*/post_max_size \= 64M/g' /etc/php/php.ini RUN a2enmod rewrite