We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4d0a819 commit 5db3d3dCopy full SHA for 5db3d3d
Dockerfile
@@ -1,6 +1,6 @@
1
# Use the latest LTS version of Node.js
2
# https://hub.docker.com/_/node
3
-FROM node:22 AS build-stage
+FROM node:22@sha256:bc77e2513f2034916f1f84299e88d17ff3612f45ad17655df07008ec6778a4bf AS build-stage
4
WORKDIR /usr/src/app
5
6
# Copy package.json and package-lock.json
@@ -15,7 +15,7 @@ COPY . .
15
RUN npm run build
16
17
# 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
+FROM gcr.io/distroless/nodejs22-debian12@sha256:ee4a35606ca4f0d4d9d376cb18a3e330dd84ebebf30215cd29e867b2bcd12132 AS production
19
20
21
0 commit comments