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 RUN apk add --no-cache libc6-compat
WORKDIR /app WORKDIR /app
COPY package-lock.json package.json ./ COPY package-lock.json package.json ./
RUN npm ci --no-audit --force RUN npm ci --no-audit --legacy-peer-deps
COPY . . COPY . .
FROM node:16-alpine as release FROM node:16-alpine as release