修改Dockerfile中pnpm镜像源,加快依赖拉去速度

This commit is contained in:
wenyongda 2025-07-24 13:13:24 +08:00
parent 7b81f6b824
commit 38f7b2d550

View File

@ -5,6 +5,7 @@ WORKDIR /app
COPY . . COPY . .
RUN npm install -g pnpm RUN npm install -g pnpm
RUN npm config set registry https://registry.npmmirror.com
RUN pnpm install RUN pnpm install
RUN pnpm build RUN pnpm build