CI: use npm China mirror + host network for build
Deploy Dashboard / deploy (push) Failing after 2m49s

This commit is contained in:
Gan, Jimmy
2026-02-25 04:18:25 +08:00
parent ecff8652e1
commit 7b9747f7b7
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
FROM node:20-alpine AS frontend
WORKDIR /build
COPY frontend/package.json frontend/package-lock.json* ./
RUN npm install
RUN npm install --registry=https://registry.npmmirror.com
COPY frontend/ ./
RUN npm run build