tfrere HF Staff commited on
Commit
beaac45
·
1 Parent(s): d28f5cf

fix: copy .npmrc into Docker frontend build stage

Browse files

The .npmrc with legacy-peer-deps is needed for the
collaboration-cursor v2 peer dep conflict with core v3.

Made-with: Cursor

Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  FROM node:20-slim AS frontend-build
2
 
3
  WORKDIR /app/frontend
4
- COPY frontend/package.json frontend/package-lock.json* ./
5
  RUN npm install
6
  COPY frontend/ ./
7
  RUN npm run build
 
1
  FROM node:20-slim AS frontend-build
2
 
3
  WORKDIR /app/frontend
4
+ COPY frontend/package.json frontend/package-lock.json* frontend/.npmrc* ./
5
  RUN npm install
6
  COPY frontend/ ./
7
  RUN npm run build