diff --git a/backend/docker/Dockerfile b/backend/docker/Dockerfile index d38c60037..3c8bd4435 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:8e6a472eb9742f4f486ca9ef13321b7fc2e54f2f60814f339eeda2aff3037573 as base +FROM docker.io/node:20-alpine@sha256:2f46fd49c767554c089a5eb219115313b72748d8f62f5eccb58ef52bc36db4ad 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 8505b47f3..70ebe8203 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:8e6a472eb9742f4f486ca9ef13321b7fc2e54f2f60814f339eeda2aff3037573 AS base +FROM docker.io/node:20-alpine@sha256:2f46fd49c767554c089a5eb219115313b72748d8f62f5eccb58ef52bc36db4ad AS base RUN apk add --no-cache tini ENTRYPOINT ["tini", "--"]