瀏覽代碼

php-ngx-pgsql fix typo (#5453)

Joan Miquel 5 年之前
父節點
當前提交
eb21424239
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      frameworks/PHP/php-ngx/php-ngx-pgsql.dockerfile

+ 1 - 1
frameworks/PHP/php-ngx/php-ngx-pgsql.dockerfile

@@ -29,5 +29,5 @@ RUN wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz && \
 RUN sed -i "s|mysql:|pgsql:|g" /app.php
 
 CMD export WORKERS=$(( 2 * $(nproc) )) && \
-    sed -e "s/worker_processes  auto/worker_processes $WORKERS/g" /deploy/nginx.conf && \
+    sed -i "s/worker_processes  auto/worker_processes $WORKERS/g" /deploy/nginx.conf && \
     /nginx/sbin/nginx -c /deploy/nginx.conf