Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontend/Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ RUN npm run build

#CMD serve -s build

FROM caddy:2.10.2-alpine
FROM caddy:2.11-alpine

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

While upgrading for security is important, this change replaces a specific patch version tag (2.10.2-alpine) with a floating minor version tag (2.11-alpine). For production Dockerfiles, it's a best practice to pin base images to a specific patch version (e.g., 2.11.0-alpine) or an image digest (@sha256:...). This ensures build reproducibility and prevents unexpected changes from being pulled in automatically.

FROM caddy:2.11.0-alpine
References
  1. Pin Docker base images to a specific version or digest in production to ensure reproducible builds.



ARG CERT
Expand Down