优化下载速度, 配置镜像站

This commit is contained in:
yml
2026-04-08 17:05:25 +08:00
parent 313c036845
commit 1c3e306e36
4 changed files with 56 additions and 1 deletions
+4
View File
@@ -1,5 +1,9 @@
FROM node:22-bookworm AS builder
ARG NPM_REGISTRY=https://registry.npmmirror.com
ENV NPM_CONFIG_REGISTRY=${NPM_REGISTRY}
WORKDIR /app
COPY apps/frontend/package.json apps/frontend/package-lock.json ./