Skip to content

Commit 4a1c927

Browse files
chore(deps): pin dependencies
1 parent 4d0a819 commit 4a1c927

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Use the latest LTS version of Node.js
22
# https://hub.docker.com/_/node
3-
FROM node:22 AS build-stage
3+
FROM node:22@sha256:f466376b5f5ca8327da5914fddbcb5eee21c1c8482bed548a5ee84750d0b1b69 AS build-stage
44
WORKDIR /usr/src/app
55

66
# Copy package.json and package-lock.json
@@ -15,7 +15,7 @@ COPY . .
1515
RUN npm run build
1616

1717
# The same image but now only install the production dependencies as the frontend is already built using vite in the build-stage
18-
FROM gcr.io/distroless/nodejs22-debian12 AS production
18+
FROM gcr.io/distroless/nodejs22-debian12@sha256:ee4a35606ca4f0d4d9d376cb18a3e330dd84ebebf30215cd29e867b2bcd12132 AS production
1919

2020
WORKDIR /usr/src/app
2121

0 commit comments

Comments
 (0)