diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index 336f32f0d..277fd12ed 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:8e015de364a2eb2ed7c52a558e9f716dcb615560ffd132234087c10ccc1f2c63 as base +FROM docker.io/node:20-alpine@sha256:b1789b7be6aa16afd642eaaaccdeeeb33bd8f08e69b3d27d931aa9665b731f01 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 b14de41c9..93e08963c 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:8e015de364a2eb2ed7c52a558e9f716dcb615560ffd132234087c10ccc1f2c63 AS base +FROM docker.io/node:20-alpine@sha256:b1789b7be6aa16afd642eaaaccdeeeb33bd8f08e69b3d27d931aa9665b731f01 AS base RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"]