From 62e4a36452f8dcd9e5dd5b75a424ca35d1c70f98 Mon Sep 17 00:00:00 2001 From: Stefan Pejcic Date: Tue, 21 May 2024 17:13:11 +0200 Subject: [PATCH] Update Dockerfile --- docker/nginx/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker/nginx/Dockerfile b/docker/nginx/Dockerfile index 479d003..190dd4b 100644 --- a/docker/nginx/Dockerfile +++ b/docker/nginx/Dockerfile @@ -123,7 +123,8 @@ RUN sed -i \ -e 's/^max_execution_time = .*/max_execution_time = 600/' \ -e 's/^opcache.enable= .*/opcache.enable=1/' \ /etc/php/8.2/fpm/php.ini -RUN sed -i 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' /etc/php/8.2/fpm/php.ini +RUN sed -i 's|;sendmail_path = *|sendmail_path = "/usr/bin/msmtp -t"|g' /etc/php/8.2/fpm/php.ini + RUN sed -i \ -e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \ @@ -133,7 +134,7 @@ RUN sed -i \ -e 's/^max_execution_time = .*/max_execution_time = 600/' \ -e 's/^opcache.enable= .*/opcache.enable=1/' \ /etc/php/8.2/cli/php.ini -RUN sed -i 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' /etc/php/8.2/cli/php.ini +RUN sed -i 's|;sendmail_path = *|sendmail_path = "/usr/bin/msmtp -t"|g' /etc/php/8.2/cli/php.ini ########## EMAIL ##########