Explorar o código

Update Dockerfile

Stefan Pejcic hai 1 ano
pai
achega
c0a80f5898
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      docker/nginx/Dockerfile

+ 2 - 2
docker/nginx/Dockerfile

@@ -122,7 +122,7 @@ RUN sed -i \
     -e 's/^post_max_size = .*/post_max_size = 1024M/' \
     -e 's/^max_execution_time = .*/max_execution_time = 600/' \
     -e 's/^opcache.enable= .*/opcache.enable=1/' \
-    -e 's/^;sendmail_path = .*/sendmail_path = "/usr/bin/msmtp -t"/' \
+    -e 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' \
     /etc/php/8.2/fpm/php.ini
 RUN sed -i \
     -e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \
@@ -131,7 +131,7 @@ RUN sed -i \
     -e 's/^post_max_size = .*/post_max_size = 1024M/' \
     -e 's/^max_execution_time = .*/max_execution_time = 600/' \
     -e 's/^opcache.enable= .*/opcache.enable=1/' \
-    -e 's/^;sendmail_path = .*/sendmail_path = "/usr/bin/msmtp -t"/' \
+    -e 's|^;sendmail_path = .*|sendmail_path = "/usr/bin/msmtp -t"|' \
     /etc/php/8.2/cli/php.ini