fix(#523): remove redundant USER directive from Dockerfile (#546)

This commit is contained in:
Daniel Graf
2025-12-09 16:44:58 +01:00
committed by GitHub
parent 85a5bc1afc
commit 7c5e6d5eb0

View File

@@ -66,9 +66,6 @@ RUN chown -R nginx:nginx /usr/share/nginx/html && \
chown -R nginx:nginx /var/log/nginx && \
chown -R nginx:nginx /etc/nginx/conf.d
# Switch to non-root user
USER nginx
EXPOSE 80
# Health check