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 Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ COPY . .
RUN npm run build

# Production stage
FROM nginx:alpine
FROM nginx:1.25-alpine

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Use a supported nginx base image

For Docker deployments built after this change, the production stage is pinned to nginx 1.25.x; that line's security support ended on May 29, 2024 and its latest release was 1.25.5 on Apr 16, 2024, while the previous nginx:alpine tag tracks a supported official image. This turns rebuilds into stale web-server images that no longer pick up nginx security fixes, so pin to a currently supported series or digest instead.

Useful? React with 👍 / 👎.


# Copy built assets from builder
COPY --from=builder /app/build /usr/share/nginx/html
Expand Down
Loading