perf: npm 使用国内镜像源加速 Docker 构建
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
FROM node:20-alpine AS base
|
||||
RUN npm config set registry https://registry.npmmirror.com
|
||||
|
||||
# --- Dependencies ---
|
||||
FROM base AS deps
|
||||
|
||||
Reference in New Issue
Block a user