fix: CI 安装依赖失败。
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Ivan Li 2022-10-07 22:20:15 +08:00
parent 079ae47a30
commit f1bbe539a7

View File

@ -2,7 +2,7 @@ FROM node:16-alpine as base
RUN apk add --no-cache libc6-compat
WORKDIR /app
COPY package-lock.json package.json ./
RUN npm ci --no-audit --force
RUN npm ci --no-audit --legacy-peer-deps
COPY . .
FROM node:16-alpine as release