From 125d3f225730fbd90a3492847faf2fbcae8ce11b Mon Sep 17 00:00:00 2001 From: s1ealth <30203864+S1ealth@users.noreply.github.com> Date: Mon, 30 Jun 2025 15:24:55 +0300 Subject: [PATCH] chore: update dockerfiles to match template from #323 --- mainline/debian/Dockerfile | 1 + stable/debian/Dockerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/mainline/debian/Dockerfile b/mainline/debian/Dockerfile index 911c1194..7b4bb5ca 100644 --- a/mainline/debian/Dockerfile +++ b/mainline/debian/Dockerfile @@ -140,6 +140,7 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co && sed -i '/user nginx;/d' /etc/nginx/nginx.conf \ && sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf \ && sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf \ + && sed -i 's,PIDFILE=${PIDFILE:-/run/nginx.pid},PIDFILE=${PIDFILE:-/tmp/nginx.pid},' /etc/init.d/nginx \ # nginx user must own the cache and etc directory to write cache and tweak the nginx config && chown -R $UID:0 /var/cache/nginx \ && chmod -R g+w /var/cache/nginx \ diff --git a/stable/debian/Dockerfile b/stable/debian/Dockerfile index ec7a4e9c..63f1d24c 100644 --- a/stable/debian/Dockerfile +++ b/stable/debian/Dockerfile @@ -140,6 +140,7 @@ RUN sed -i 's,listen 80;,listen 8080;,' /etc/nginx/conf.d/default.co && sed -i '/user nginx;/d' /etc/nginx/nginx.conf \ && sed -i 's,\(/var\)\{0\,1\}/run/nginx.pid,/tmp/nginx.pid,' /etc/nginx/nginx.conf \ && sed -i "/^http {/a \ proxy_temp_path /tmp/proxy_temp;\n client_body_temp_path /tmp/client_temp;\n fastcgi_temp_path /tmp/fastcgi_temp;\n uwsgi_temp_path /tmp/uwsgi_temp;\n scgi_temp_path /tmp/scgi_temp;\n" /etc/nginx/nginx.conf \ + && sed -i 's,PIDFILE=${PIDFILE:-/run/nginx.pid},PIDFILE=${PIDFILE:-/tmp/nginx.pid},' /etc/init.d/nginx \ # nginx user must own the cache and etc directory to write cache and tweak the nginx config && chown -R $UID:0 /var/cache/nginx \ && chmod -R g+w /var/cache/nginx \