From 50a7a94e3bd1a2e8fc52277f46412c18a8fc1894 Mon Sep 17 00:00:00 2001 From: neodk2004 Date: Mon, 26 Oct 2026 13:55:19 +0100 Subject: [PATCH] =?UTF-8?q?fix(docker):=20Node=2024=20statt=2022=20?= =?UTF-8?q?=E2=80=93=20Brotli=201.2.0=20statt=201.1.0=20(CVE-2026-111497)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Node 22.x bündelt auch im neuesten Release noch Brotli 1.1.0. Co-Authored-By: Claude Opus 5.5 --- docker/Dockerfile | 6 +++--- docker/docker-compose.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 0ce1845..319303c 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -1,7 +1,7 @@ # ────────────────────────────────────────────── # Stage 1: install dependencies # ────────────────────────────────────────────── -FROM node:22-alpine AS deps +FROM node:24-alpine AS deps RUN apk add --no-cache libc6-compat WORKDIR /app @@ -11,7 +11,7 @@ RUN npm ci # ────────────────────────────────────────────── # Stage 2: build # ────────────────────────────────────────────── -FROM node:22-alpine AS builder +FROM node:24-alpine AS builder WORKDIR /app # sentry-cli (invoked by withSentryConfig during `npm run build` to upload @@ -56,7 +56,7 @@ RUN npm run build # ────────────────────────────────────────────── # Stage 3: production image (minimal) # ────────────────────────────────────────────── -FROM node:22-alpine AS runner +FROM node:24-alpine AS runner WORKDIR /app ENV NODE_ENV=production diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml index 4d2d72e..e003712 100644 --- a/docker/docker-compose.yml +++ b/docker/docker-compose.yml @@ -42,7 +42,7 @@ x-pawfeed-common: &pawfeed-common - nginx_default # Used by docker/rolling-deploy.sh to know when a replica is ready to # take traffic again before moving on to the next one. wget is the only - # HTTP client available in the node:22-alpine runner image. + # HTTP client available in the node:24-alpine runner image. healthcheck: test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/api/health"] interval: 5s