fix(deploy): use npmmirror registry in volcengine-102 Dockerfile
Some checks failed
CI / test (push) Failing after 57s
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:
parent
595409487b
commit
c2bc56effd
@ -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
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user