From 7e1ea12e425bf181ccd3ad2336f7f4722b9f878f Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Tue, 2 Jun 2026 17:14:30 +0000 Subject: [PATCH] fix: add allowBuilds for esbuild in mock-oauth-builder Docker stage The mock-oauth-builder stage runs pnpm install without access to the monorepo's pnpm-workspace.yaml, so pnpm v11 blocks esbuild's build scripts. Create a minimal pnpm-workspace.yaml with allowBuilds in that stage. Co-Authored-By: Konstantin Wohlwend --- docker/local-emulator/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/local-emulator/Dockerfile b/docker/local-emulator/Dockerfile index b8d4c882c..145a02df4 100644 --- a/docker/local-emulator/Dockerfile +++ b/docker/local-emulator/Dockerfile @@ -138,7 +138,7 @@ RUN npm install FROM node-base AS mock-oauth-builder WORKDIR /mock-oauth COPY apps/mock-oauth-server/package.json . -RUN pnpm install && pnpm add esbuild --save-dev +RUN printf 'allowBuilds:\n esbuild: true\n' > pnpm-workspace.yaml && pnpm install && pnpm add esbuild --save-dev COPY apps/mock-oauth-server/src ./src RUN npx esbuild src/index.ts --bundle --platform=node --target=node22 --outfile=dist/index.cjs