From 9df89b746ec760c4132dfe1cb06ac35919b1f043 Mon Sep 17 00:00:00 2001 From: Francis Cao Date: Wed, 20 May 2026 11:23:44 -0700 Subject: [PATCH] Revert "fix cloud docker runtime dependency install" This reverts commit 6e8660c3975d8e250efdcfc877c2d7b6da24e7fc. --- Dockerfile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 90fb0c867..ebd6866d4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,10 +39,14 @@ ENV NODE_OPTIONS=$NODE_OPTIONS RUN addgroup --system --gid 1001 nodejs RUN adduser --system --uid 1001 nextjs RUN set -x \ - && apk add --no-cache curl + && apk add --no-cache curl \ + && npm install -g pnpm@${PNPM_VERSION} + +# Keep the repo's pnpm build-script policy available in this stage. +COPY pnpm-workspace.yaml ./ # Script dependencies -RUN npm install --no-save npm-run-all dotenv chalk semver \ +RUN pnpm --allow-build='@prisma/engines,prisma' add npm-run-all dotenv chalk semver \ prisma@${PRISMA_VERSION} \ @prisma/client@${PRISMA_VERSION} \ @prisma/adapter-pg@${PRISMA_VERSION}