diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index 9262b703e..1bb0a93d4 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:cc4e8f3d78a276fa05eae1803b6f8cbb43145441f54c828ab14e0c19dd95c6fd as base +FROM docker.io/node:20-alpine@sha256:1d34273b1b489a4e879ccfaee83c1cec99acbb5a4128f880981071e1bae62b97 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 5c598a1f1..10f992aff 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:cc4e8f3d78a276fa05eae1803b6f8cbb43145441f54c828ab14e0c19dd95c6fd AS base +FROM docker.io/node:20-alpine@sha256:1d34273b1b489a4e879ccfaee83c1cec99acbb5a4128f880981071e1bae62b97 AS base RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"]