From 6586ce39cfadc3e4364641f48c576cfde52e664b Mon Sep 17 00:00:00 2001 From: Gyorgy Berenyi <1+gyurix@safebox.network> Date: Mon, 2 Mar 2026 23:11:49 +0000 Subject: [PATCH] Update Dockerfile --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 49e2af6..e93681f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -52,9 +52,7 @@ RUN \ make install && \ sed -i -e 's/#access_log logs\/access.log main;/access_log \/dev\/stdout;/' -e 's/#error_log logs\/error.log notice;/error_log stderr notice;/' /etc/nginx/nginx.conf && \ addgroup -S nginx && \ - adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx && \ - apk del ${build_pkgs} && \ - rm -rf /var/cache/apk/* + adduser -D -S -h /var/cache/nginx -s /sbin/nologin -G nginx nginx ARG PHP_VERSION="83" @@ -64,7 +62,9 @@ RUN apk --no-cache add php${PHP_VERSION} \ php${PHP_VERSION}-pecl-redis \ curl \ vim \ - git \ + git + +RUN apk del ${build_pkgs} && \ rm -rf /var/cache/apk/* COPY nginx.conf /etc/nginx/nginx.conf