aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2025-07-05 17:24:33 +0000
committersaturneric <[email protected]>2025-07-05 17:24:33 +0000
commitc018e145c9bd0904db0cd539486240a2a7de8558 (patch)
treea1345d38a49366689fbd94ba347c80b3a000f865
parentfix(ci): correct Docker image path in CI configuration (diff)
downloadManual-c018e145c9bd0904db0cd539486240a2a7de8558.tar.gz
Manual-c018e145c9bd0904db0cd539486240a2a7de8558.zip
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.
-rw-r--r--Dockerfile4
1 files changed, 0 insertions, 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