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) && \
|
export NPM_TOKEN=$(cat /run/secrets/NPM_TOKEN) && \
|
||||||
pnpm i --frozen-lockfile
|
pnpm i --frozen-lockfile
|
||||||
|
|
||||||
# Build Gatekeeper
|
# Build Gatekeeper and its dependencies
|
||||||
RUN pnpm --filter @mintel/gatekeeper build
|
RUN pnpm --filter @mintel/gatekeeper... build
|
||||||
|
|
||||||
# Step 2: Runner stage
|
# Step 2: Runner stage
|
||||||
FROM node:20-alpine AS runner
|
FROM node:20-alpine AS runner
|
||||||
|
|||||||
Reference in New Issue
Block a user