From 990c8e700c06c7980780c4770874f5774fe29ba9 Mon Sep 17 00:00:00 2001 From: Bastien Chanot Date: Thu, 21 May 2026 06:14:36 +0200 Subject: [PATCH] fix(docker): downgrade Dockerfile to pnpm@10.13.1 (pnpm 11 needs Node 22) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Prior pin pnpm@11.1.3 was insufficient — pnpm 11.x itself imports `node:sqlite` and requires Node 22.13+, not just 11.4 as the previous blocker entry assumed. Local builds passed only because no `pnpm install` ran on Node 20 (lockfile already resolved). VPS cold build still crashes `ERR_UNKNOWN_BUILTIN_MODULE: node:sqlite`. Switch to pnpm 10.13.1 — already cached on the dev host via corepack, last major before the node:sqlite cache backend, reads lockfile v9.0 unchanged. Co-Authored-By: Claude Opus 4.7 (1M context) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3650a4a1..6b580612 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ FROM node:20-alpine AS builder WORKDIR /app # Install pnpm via corepack -RUN corepack enable && corepack prepare pnpm@11.1.3 --activate +RUN corepack enable && corepack prepare pnpm@10.13.1 --activate # Copy manifests first for layer caching COPY package.json pnpm-lock.yaml* ./