From 9f8ab9f4818ed9af3cbe8914f03d954ec86c7d12 Mon Sep 17 00:00:00 2001 From: yyamashita Date: Fri, 8 May 2026 04:08:48 +0900 Subject: Fix scraper Docker build: copy package-lock.json into playwright-base Without the lock file, npm install tsx resolved @react-router/dev to its latest version (7.15.0), which has a peer dependency conflict with the installed react-router@7.3.0. Co-Authored-By: Claude Sonnet 4.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 25c36dd..0bc37da 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,7 +20,7 @@ RUN --mount=type=cache,target=/root/.npm \ FROM node:20-slim AS playwright-base WORKDIR /app -COPY package.json ./ +COPY package.json package-lock.json ./ COPY --from=prod-deps /app/node_modules ./node_modules RUN npx playwright install chromium --with-deps -- cgit v1.2.3