From c018e145c9bd0904db0cd539486240a2a7de8558 Mon Sep 17 00:00:00 2001 From: saturneric Date: Sat, 5 Jul 2025 19:24:33 +0200 Subject: fix(docker): remove unnecessary nginx user and group creation * Eliminated the creation of a custom nginx user and group in the Dockerfile. * This simplifies the Docker image and reduces complexity. --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index fe12b35..83c23fe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,10 +22,6 @@ FROM nginx:alpine AS runtime # Install dumb-init for proper signal handling RUN apk add --no-cache dumb-init -# Create nginx user and group -RUN addgroup -g 1001 -S nginx && \ - adduser -S -D -H -u 1001 -h /var/cache/nginx -s /sbin/nologin -G nginx -g nginx nginx - # Copy nginx configuration COPY ./nginx/nginx.conf /etc/nginx/nginx.conf -- cgit v1.2.3