Sbboss commited on
Commit
297f178
·
1 Parent(s): be43b96

Fix npm peer dependency conflict in Docker build

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -2,7 +2,7 @@
2
  FROM node:20-slim AS frontend-build
3
  WORKDIR /app/frontend
4
  COPY frontend/package.json frontend/package-lock.json ./
5
- RUN npm ci
6
  COPY frontend/ ./
7
  RUN npm run build
8
 
 
2
  FROM node:20-slim AS frontend-build
3
  WORKDIR /app/frontend
4
  COPY frontend/package.json frontend/package-lock.json ./
5
+ RUN npm ci --legacy-peer-deps
6
  COPY frontend/ ./
7
  RUN npm run build
8