From 727e0bed08c6701782912b008c3129f5fee48ff9 Mon Sep 17 00:00:00 2001 From: Viktor Barzin Date: Sun, 10 May 2026 16:54:25 +0000 Subject: [PATCH] fire-planner: copy frontend/.npmrc before npm ci in Dockerfile Without this, the legacy-peer-deps flag from .npmrc isn't visible at npm-ci time (the file isn't part of the COPY layer that triggers the install). CI was failing on the Visx 3.x peer-dep cap against React 19. Verified locally with 'docker build --target frontend-builder'. --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6e6000c..a1f50c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,7 @@ FROM node:22-alpine AS frontend-builder WORKDIR /frontend -COPY frontend/package.json frontend/package-lock.json ./ +COPY frontend/package.json frontend/package-lock.json frontend/.npmrc ./ RUN npm ci COPY frontend/ ./