fix(ci): use npmmirror for CI and Docker dependency installs
ci/woodpecker/push/woodpecker Pipeline was successful

Co-authored-by: HiFox Agent <agents-noreply@hifox.com>
This commit is contained in:
kfluous
2026-09-05 17:15:28 +08:00
co-authored by HiFox Agent
parent a177781fe7
commit df6b8201e8
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -2,7 +2,7 @@ FROM node:22-alpine AS builder
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
RUN npm ci --registry=https://registry.npmmirror.com/
COPY . .
RUN npm run build
@@ -10,7 +10,7 @@ FROM node:22-alpine
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --omit=dev
RUN npm ci --omit=dev --registry=https://registry.npmmirror.com/
COPY --from=builder /app/dist ./dist
COPY src/server ./src/server
COPY src/shared ./src/shared