fix(deploy): use npmmirror registry in volcengine-102 Dockerfile
Some checks failed
CI / test (push) Failing after 57s

npm ci hangs on volcengine-102 because package-lock resolved URLs
point to registry.npmjs.org (GFW-blocked). Force npmmirror before ci.
This commit is contained in:
sinohqb 2026-07-28 19:54:24 +08:00
parent 595409487b
commit c2bc56effd

View File

@ -4,7 +4,7 @@
FROM node:20-alpine AS frontend-build
WORKDIR /app/frontend/web
COPY frontend/web/package.json frontend/web/package-lock.json* ./
RUN npm ci --silent
RUN npm config set registry https://registry.npmmirror.com && npm ci --silent
COPY frontend/web/ ./
RUN npm run build