Skip to content
Merged
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
@@ -1,4 +1,4 @@
FROM node:18-slim
FROM node:18-slim@sha256:f9ab18e354e6855ae56ef2b290dd225c1e51a564f87584b9bd21dd651838830e
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

Node.js 18 is end-of-life (no security updates). Since this image is now pinned to a Node 18 digest, we’ll be locked onto an unsupported runtime; please upgrade the base image to an actively supported LTS (e.g., Node 20/22) and update the pinned digest accordingly.

Suggested change
FROM node:18-slim@sha256:f9ab18e354e6855ae56ef2b290dd225c1e51a564f87584b9bd21dd651838830e
FROM node:20-slim

Copilot uses AI. Check for mistakes.
Copy link

Copilot AI Feb 15, 2026

Choose a reason for hiding this comment

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

Pinning the image by digest disables automatic base-image updates (including Debian security patches). Please ensure there is an automated process (e.g., Dependabot/Renovate for Docker) or a documented runbook to regularly bump this digest; otherwise the container will accumulate known CVEs over time.

Suggested change
FROM node:18-slim@sha256:f9ab18e354e6855ae56ef2b290dd225c1e51a564f87584b9bd21dd651838830e
FROM node:18-slim

Copilot uses AI. Check for mistakes.
WORKDIR /usr/src/app
COPY package.json package-lock.json ./
RUN npm ci --production
Expand Down