diff --git a/.gitea/workflows/pr-checks.yml b/.gitea/workflows/pr-checks.yml index 8fbf471..2ad1be6 100644 --- a/.gitea/workflows/pr-checks.yml +++ b/.gitea/workflows/pr-checks.yml @@ -22,7 +22,7 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: - node-version: '22' + node-version: '22.23.4' cache: npm - name: Install diff --git a/Dockerfile b/Dockerfile index 888aca4..9848166 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,7 +15,7 @@ # --------------------------------------------------------------------------------------- # Stage 1 — build # --------------------------------------------------------------------------------------- -FROM node:22-bookworm-slim AS build +FROM node:22.23.4-bookworm-slim AS build WORKDIR /build @@ -54,7 +54,7 @@ RUN mkdir -p /split \ # --------------------------------------------------------------------------------------- # Stage 2 — runtime # --------------------------------------------------------------------------------------- -FROM node:22-bookworm-slim AS runtime +FROM node:22.23.4-bookworm-slim AS runtime WORKDIR /app diff --git a/README.md b/README.md index 3054dee..8534169 100644 --- a/README.md +++ b/README.md @@ -32,7 +32,7 @@ npm run build # → dist/ (prerendered pages + the Node server entry) npm start # serve the built site ``` -Node 22 LTS or newer. Nothing else — no database, no game server, no container runtime. +Node 22.23.4+ (or 24.22.1+); older builds carry the Node2Shell Brotli bug, CVE-2026-111497. Nothing else — no database, no game server, no container runtime. ## Running it in production