fix: set CI=true and pin pnpm@9 in Dockerfile to fix Docker build
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
kkfluous
2026-06-05 16:33:52 +08:00
parent c48afe22f5
commit 16c2ebd808

View File

@@ -1,12 +1,14 @@
FROM node:22-alpine as builder
ENV CI=true
WORKDIR /usr/src/app
COPY . .
RUN npm install pnpm -g
RUN npm install pnpm@9 -g && rm -f pnpm-lock.yaml
RUN pnpm install
RUN pnpm install --no-frozen-lockfile
RUN pnpm build