diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index dd905ec86..b4850ec07 100644 --- a/backend/docker/Dockerfile +++ b/backend/docker/Dockerfile @@ -10,7 +10,7 @@ # DOCKER_BUILDKIT=1 docker build -f docker/Dockerfile . ## Stage 0: Base image with only yarn and package.json -FROM docker.io/node:20-alpine@sha256:6f52984eb7b7c371718f204e0badf77d8bbb86f33a95d8908d5b73dafbfbb7dc as base +FROM docker.io/node:20-alpine@sha256:37750e51d61bef92165b2e29a77da4277ba0777258446b7a9c99511f119db096 as base # Add tini to handle signals # https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#handling-kernel-signals RUN apk add --no-cache tini diff --git a/frontend/docker/Dockerfile b/frontend/docker/Dockerfile index ddd05989e..8728f6ea1 100644 --- a/frontend/docker/Dockerfile +++ b/frontend/docker/Dockerfile @@ -3,7 +3,7 @@ # SPDX-License-Identifier: CC-BY-SA-4.0 # BASE -FROM docker.io/node:20-alpine@sha256:6f52984eb7b7c371718f204e0badf77d8bbb86f33a95d8908d5b73dafbfbb7dc AS base +FROM docker.io/node:20-alpine@sha256:37750e51d61bef92165b2e29a77da4277ba0777258446b7a9c99511f119db096 AS base RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"]