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 docker/frontend/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN npm install --omit=dev --omit=optional

RUN npm run build

FROM nginx:1.29.3-alpine
FROM nginx:1.29.5-alpine

Choose a reason for hiding this comment

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

medium

To enhance reproducibility and prevent potential supply chain attacks, it is a best practice to pin Docker images to a specific digest rather than just a tag. While nginx:1.29.5-alpine is a good upgrade, consider adding the SHA256 digest to ensure that the exact same image is always used, even if the tag were to be repointed in the future. You can find the digest on Docker Hub or by pulling the image locally and inspecting it.


WORKDIR /patch

Expand Down