From 4594bd2307945cc57c3133445311ea7136f69959 Mon Sep 17 00:00:00 2001 From: Flea Flicker Date: Tue, 14 Apr 2026 21:58:44 +0000 Subject: [PATCH] fix(GRO-655): create corepack cache dir in builder stage Prevents ENOENT crash in migrate and seed jobs. Root cause: corepack tries to mkdir /home/node/.cache/node/corepack/v1 but the directory does not exist in the builder stage. This was a regression in c438f57 where the cache directory was not pre-created. Co-Authored-By: Paperclip --- apps/api/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/api/Dockerfile b/apps/api/Dockerfile index 1a89f85..f04b81b 100644 --- a/apps/api/Dockerfile +++ b/apps/api/Dockerfile @@ -12,6 +12,7 @@ RUN pnpm install --frozen-lockfile # Build FROM deps AS builder +RUN mkdir -p /home/node/.cache/node/corepack COPY packages/ packages/ COPY apps/api/ apps/api/ RUN pnpm --filter @groombook/types build && \