fix: use npm install instead of npm ci (no lock file)
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
111
2026-01-23 15:56:36 +08:00
parent 531d9522c5
commit 4e954af55c

View File

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