Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 2 additions & 2 deletions history/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BUILD_IMAGE
FROM node:20.20.0-alpine AS BUILD_IMAGE
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx) in both stages.

Copilot uses AI. Check for mistakes.

RUN apk update && apk add python3 make g++

Expand All @@ -13,7 +13,7 @@ RUN rm -rf /app/node_modules
RUN rm -rf /app/history/node_modules
RUN yarn install --frozen-lockfile --production

FROM node:20-alpine
FROM node:20.20.0-alpine
COPY --from=BUILD_IMAGE /app/history/dist /app
COPY --from=BUILD_IMAGE /app/history/scripts /app/scripts
COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules
Expand Down
2 changes: 1 addition & 1 deletion history/Dockerfile-migrate
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine
FROM node:20.20.0-alpine
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx).

Suggested change
FROM node:20.20.0-alpine
FROM node:20.20.0-alpine3.19

Copilot uses AI. Check for mistakes.

WORKDIR /app
COPY ./history/src/config/process.ts ./history/src/config/database.ts ./
Expand Down
4 changes: 2 additions & 2 deletions realtime/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:20-alpine AS BUILD_IMAGE
FROM node:20.20.0-alpine AS BUILD_IMAGE
Copy link

Copilot AI Feb 9, 2026

Choose a reason for hiding this comment

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

Using a mutable tag (even with a pinned Node patch) can still lead to non-reproducible builds if the tag is rebuilt. For stronger supply-chain/reproducibility guarantees, consider pinning the base image by digest (node@sha256:...) and/or an explicit Alpine variant (e.g., -alpine3.xx) in both stages.

Copilot uses AI. Check for mistakes.

RUN apk update && apk add python3 make g++

Expand All @@ -13,7 +13,7 @@ RUN rm -rf /app/node_modules
RUN rm -rf /app/realtime/node_modules
RUN yarn install --frozen-lockfile --production

FROM node:20-alpine
FROM node:20.20.0-alpine
COPY --from=BUILD_IMAGE /app/realtime/dist /app
COPY --from=BUILD_IMAGE /app/node_modules /app/node_modules
COPY --from=BUILD_IMAGE /app/realtime/node_modules /app/node_modules
Expand Down