From 3585604f911edd633f42f0b43de00b0ea7a00c50 Mon Sep 17 00:00:00 2001 From: david <58231312+davseby@users.noreply.github.com> Date: Sat, 5 Sep 2026 22:27:32 +0300 Subject: [PATCH] pin pnpm version in Dockerfiles to match package.json --- docker/prod/Dockerfile | 6 +++--- server/auth-realtime/Dockerfile.dev | 2 +- web/Dockerfile.dev | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/prod/Dockerfile b/docker/prod/Dockerfile index 711ebe0a..d60f68b2 100644 --- a/docker/prod/Dockerfile +++ b/docker/prod/Dockerfile @@ -16,7 +16,7 @@ # mirrors web/Dockerfile.dev (the dev/e2e image); change them together. FROM node:24.20.0-bookworm-slim@sha256:ba849c60be29959425b8734d57b8b4b7d56f98edd9504c9af091d5281095a71e AS web-builder -RUN npm install -g pnpm +RUN npm install -g pnpm@11.1.3 WORKDIR /app @@ -43,7 +43,7 @@ RUN pnpm install --frozen-lockfile \ # the e2e stack run) instead of the ~83MB production node_modules tree. FROM node:24.20.0-bookworm-slim@sha256:ba849c60be29959425b8734d57b8b4b7d56f98edd9504c9af091d5281095a71e AS auth-realtime-builder -RUN npm install -g pnpm +RUN npm install -g pnpm@11.1.3 WORKDIR /server @@ -59,7 +59,7 @@ RUN pnpm install --frozen-lockfile && pnpm run check-types && pnpm run build:bun FROM node:24.20.0-bookworm-slim@sha256:ba849c60be29959425b8734d57b8b4b7d56f98edd9504c9af091d5281095a71e AS launcher-builder -RUN npm install -g pnpm +RUN npm install -g pnpm@11.1.3 WORKDIR /launcher diff --git a/server/auth-realtime/Dockerfile.dev b/server/auth-realtime/Dockerfile.dev index 3474eb04..e479bcc2 100644 --- a/server/auth-realtime/Dockerfile.dev +++ b/server/auth-realtime/Dockerfile.dev @@ -4,7 +4,7 @@ FROM node:24.20.0-alpine AS base FROM base AS builder RUN apk add --no-cache gcompat -RUN npm install -g pnpm +RUN npm install -g pnpm@11.1.3 WORKDIR /server # pnpm-workspace.yaml carries the allowBuilds settings — without it the diff --git a/web/Dockerfile.dev b/web/Dockerfile.dev index c055f630..3446f699 100644 --- a/web/Dockerfile.dev +++ b/web/Dockerfile.dev @@ -2,7 +2,7 @@ FROM node:24.20.0-alpine AS base FROM base AS builder -RUN npm install -g pnpm +RUN npm install -g pnpm@11.1.3 WORKDIR /app # the vite client build exceeds node's default ~2GB heap