From 2c4d06d746b614e3f75bb66d6304347bf24bdb24 Mon Sep 17 00:00:00 2001 From: Liam Pietralla Date: Mon, 16 Nov 2026 13:18:26 +1100 Subject: [PATCH] Install corepack globally in the frontend Dockerfile corepack is no longer bundled with newer Node images, so 'corepack enable' failed with 'corepack: not found' when building the frontend image. --- packages/frontend/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/frontend/Dockerfile b/packages/frontend/Dockerfile index 452f361..eeeb4ad 100644 --- a/packages/frontend/Dockerfile +++ b/packages/frontend/Dockerfile @@ -2,7 +2,7 @@ FROM node:lts-alpine as build WORKDIR /src COPY ["package.json", "."] COPY ["pnpm-lock.yaml", "pnpm-workspace.yaml", "."] -RUN corepack enable +RUN npm install -g corepack && corepack enable RUN pnpm install --frozen-lockfile COPY . . RUN pnpm build