diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index 96714d19d..4a89940aa 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:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 as base +FROM docker.io/node:20-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e 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 254cd056f..d35ef75c2 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:2d07db07a2df6830718ae2a47db6fedce6745f5bcd174c398f2acdda90a11c03 AS base +FROM docker.io/node:20-alpine@sha256:d20da4a7c62a5ef7a3ca2526ebb0912e8c9226a870e0167b4416eb4d3bbda27e AS base RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"]