build: pass --legacy-peer-deps to npm ci in Dockerfile
All checks were successful
Build and deploy / build-deploy (push) Successful in 1m52s
All checks were successful
Build and deploy / build-deploy (push) Successful in 1m52s
This commit is contained in:
@@ -6,7 +6,7 @@ RUN apk add --no-cache libc6-compat openssl
|
|||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY package.json package-lock.json* ./
|
COPY package.json package-lock.json* ./
|
||||||
COPY prisma ./prisma
|
COPY prisma ./prisma
|
||||||
RUN --mount=type=cache,target=/root/.npm npm ci
|
RUN --mount=type=cache,target=/root/.npm npm ci --legacy-peer-deps
|
||||||
|
|
||||||
# -------- build --------
|
# -------- build --------
|
||||||
FROM node:20-alpine AS builder
|
FROM node:20-alpine AS builder
|
||||||
|
|||||||
Reference in New Issue
Block a user