diff options
author | saturneric <[email protected]> | 2025-07-05 17:24:33 +0000 |
---|---|---|
committer | saturneric <[email protected]> | 2025-07-05 17:24:33 +0000 |
commit | c018e145c9bd0904db0cd539486240a2a7de8558 (patch) | |
tree | a1345d38a49366689fbd94ba347c80b3a000f865 | |
parent | fix(ci): correct Docker image path in CI configuration (diff) | |
download | Manual-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-- | Dockerfile | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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 |