Use numerical user ID to allow validation

This commit is contained in:
Mrrp 2025-03-05 23:39:09 -08:00
parent e59af9afe9
commit 33172ef496

View file

@ -16,6 +16,6 @@ COPY --from=build-stage /app/dist /usr/share/nginx/html
EXPOSE 80 EXPOSE 80
# Use a non-root user for security # Use a non-root user for security
USER nginx USER 1000
CMD ["nginx", "-g", "daemon off;"] CMD ["nginx", "-g", "daemon off;"]