fix: build workspace dependencies before gatekeeper in Docker
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user