fix: use China mirrors for pip and npm in Dockerfiles
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
111
2026-01-23 15:54:22 +08:00
parent b89d5ddee9
commit 531d9522c5
2 changed files with 4 additions and 4 deletions

View File

@@ -2,9 +2,9 @@ FROM node:20-alpine as builder
WORKDIR /app
# 安装依赖
# 安装依赖(使用淘宝镜像)
COPY frontend/package*.json ./
RUN npm ci
RUN npm config set registry https://registry.npmmirror.com && npm ci
# 构建
COPY frontend/ .