Fix Docker builds: corepack removed in Node 25

Node 25 no longer ships corepack. Replace corepack enable/prepare with
npm install -g pnpm.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-25 22:42:54 +01:00
parent 462da3ac5d
commit 871ed81869
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9
2 changed files with 2 additions and 2 deletions

View file

@ -1,5 +1,5 @@
FROM node:25-slim AS base
RUN corepack enable && corepack prepare pnpm@10.6.5 --activate
RUN npm install -g pnpm@10.6.5
WORKDIR /app
FROM base AS deps

View file

@ -1,5 +1,5 @@
FROM node:25-slim AS base
RUN corepack enable && corepack prepare pnpm@10.6.5 --activate
RUN npm install -g pnpm@10.6.5
WORKDIR /app
FROM base AS deps