fix: build workspace dependencies before gatekeeper in Docker

This commit is contained in:
2026-02-04 18:39:12 +01:00
parent e7cc1c8ca5
commit 22cd20e639

View File

@@ -13,8 +13,8 @@ RUN --mount=type=cache,target=/root/.local/share/pnpm/store/v3 \
export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN) && \
pnpm i --frozen-lockfile
# Build Gatekeeper
RUN pnpm --filter @mintel/gatekeeper build
# Build Gatekeeper and its dependencies
RUN pnpm --filter @mintel/gatekeeper... build
# Step 2: Runner stage
FROM node:20-alpine AS runner