fix(docker): Node 24 statt 22 – Brotli 1.2.0 statt 1.1.0 (CVE-2026-111497)
Node 22.x bündelt auch im neuesten Release noch Brotli 1.1.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d0c9ecca97
commit
50a7a94e3b
2 files changed
+4
-4
No files matched your search
+3
-3
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in new issue
Block a user