From 9d33192a38b236db01d0f67fa00a56e1e4be8d36 Mon Sep 17 00:00:00 2001 From: Lilith Date: Fri, 2 Jan 2026 22:05:39 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20Fix=20E2E=20frontend=20Dockerfil?= =?UTF-8?q?e=20node=5Fmodules=20cleanup?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove existing node_modules from copied source - Add CI=true env for non-interactive pnpm install 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- features/conversation-assistant/e2e/Dockerfile.frontend | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/features/conversation-assistant/e2e/Dockerfile.frontend b/features/conversation-assistant/e2e/Dockerfile.frontend index e152cfc37..72e156a8f 100644 --- a/features/conversation-assistant/e2e/Dockerfile.frontend +++ b/features/conversation-assistant/e2e/Dockerfile.frontend @@ -17,7 +17,11 @@ RUN echo "@lilith:registry=http://forge.nasty.sh/api/packages/lilith/npm/" > .np # Copy ALL source code first (before install so pnpm can resolve workspace deps) COPY frontend-dev/ ./ -# Install dependencies with rebuild for esbuild +# Remove any existing node_modules from copied source +RUN rm -rf node_modules + +# Install dependencies with rebuild for esbuild (CI=true for non-interactive mode) +ENV CI=true RUN pnpm config set side-effects-cache false && \ pnpm install --no-frozen-lockfile && \ pnpm rebuild esbuild