perf: npm 使用国内镜像源加速 Docker 构建

This commit is contained in:
2026-02-25 12:28:35 +08:00
parent 7bc18ce503
commit e614129784
+1
View File
@@ -1,4 +1,5 @@
FROM node:20-alpine AS base
RUN npm config set registry https://registry.npmmirror.com
# --- Dependencies ---
FROM base AS deps