浏览代码

Update Dockerfile

Stefan Pejcic 1 年之前
父节点
当前提交
e7c1e557bf
共有 1 个文件被更改,包括 3 次插入2 次删除
  1. 3 2
      docker/nginx/Dockerfile

+ 3 - 2
docker/nginx/Dockerfile

@@ -122,8 +122,9 @@ 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"|' \
     /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 \
     -e 's/^upload_max_filesize = .*/upload_max_filesize = 1024M/' \
     -e 's/^max_input_time = .*/max_input_time = 600/' \
@@ -131,8 +132,8 @@ 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"|' \
     /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
 
 
 ########## EMAIL ##########