diff --git a/Dockerfile b/Dockerfile index eaf066bea..45ab21098 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,7 @@ ARG ENVIRONMENT_CONFIG=heroku # Stage 1 - Create yarn install skeleton layer -FROM node:20-bookworm-slim@sha256:f44fa8d6d0ef15fe252459ac5d3d178362231a7948d7d07e147bae891006e2e5 AS packages +FROM node:20-bookworm-slim@sha256:aa15259095f820fc15499d36c2daaa17316b3146b3d2516bb418708cb3831f75 AS packages ARG ENVIRONMENT_CONFIG WORKDIR /app @@ -16,7 +16,7 @@ COPY plugins plugins RUN find packages \! -name "package.json" -mindepth 2 -maxdepth 2 -print | xargs rm -rf # Stage 2 - Install dependencies and build packages -FROM node:20-bookworm-slim@sha256:f44fa8d6d0ef15fe252459ac5d3d178362231a7948d7d07e147bae891006e2e5 AS build +FROM node:20-bookworm-slim@sha256:aa15259095f820fc15499d36c2daaa17316b3146b3d2516bb418708cb3831f75 AS build ARG ENVIRONMENT_CONFIG # Set Python interpreter for `node-gyp` to use @@ -51,7 +51,7 @@ RUN mkdir packages/backend/dist/skeleton packages/backend/dist/bundle \ && tar xzf packages/backend/dist/bundle.tar.gz -C packages/backend/dist/bundle # Stage 3 - Build the actual backend image and install production dependencies -FROM node:20-bookworm-slim@sha256:f44fa8d6d0ef15fe252459ac5d3d178362231a7948d7d07e147bae891006e2e5 +FROM node:20-bookworm-slim@sha256:aa15259095f820fc15499d36c2daaa17316b3146b3d2516bb418708cb3831f75 ARG ENVIRONMENT_CONFIG # Set Python interpreter for `node-gyp` to use