移除 --legacy-peer-deps,让 npm 自动安装 peer dependencies
Some checks failed
构建并部署前端到生产环境 / build-and-deploy (push) Failing after 4s
Some checks failed
构建并部署前端到生产环境 / build-and-deploy (push) Failing after 4s
Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
This commit is contained in:
@@ -16,7 +16,7 @@ RUN npm config set registry https://registry.npmmirror.com
|
||||
COPY package.json ./
|
||||
|
||||
# 安装所有依赖
|
||||
RUN npm install --legacy-peer-deps
|
||||
RUN npm install
|
||||
|
||||
# 复制源代码
|
||||
COPY . .
|
||||
|
||||
Reference in New Issue
Block a user