legace peer deps
This commit is contained in:
parent
63af976671
commit
b165d65acb
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@ FROM node:24.13.1-alpine AS builder
|
|||
WORKDIR /app
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci
|
||||
RUN npm ci --legacy-peer-deps
|
||||
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
|
@ -19,7 +19,7 @@ WORKDIR /app
|
|||
RUN npm install -g pm2
|
||||
|
||||
COPY package*.json ./
|
||||
RUN npm ci --only=production && npm cache clean --force
|
||||
RUN npm ci --only=production --legacy-peer-deps && npm cache clean --force
|
||||
|
||||
COPY --from=builder /app/build ./build
|
||||
COPY --from=builder /app/ecosystem.config.cjs ./ecosystem.config.cjs
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue