From 5f67c46cbbb9c3f82653177428718d07d8c3f38c Mon Sep 17 00:00:00 2001 From: vl Date: Sun, 20 Sep 2026 23:16:12 +0200 Subject: [PATCH] fix: keep the Playwright config out of the Docker build context MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The e2e directory is excluded from the image, but its config file was not, and Next type-checks it during the build — so adding the end-to-end suite broke `docker build` with a missing-module error two stages deep. Caught by running the whole verification rather than the part that had just changed. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_012cSY9pVhZmJUKNN7wf1Myd --- .dockerignore | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.dockerignore b/.dockerignore index 1fe4f49..ffce757 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,7 +8,12 @@ node_modules !.env.example coverage .preview +# The e2e directory is excluded, so its config must be too: Next type-checks +# playwright.config.ts during the build and it imports from ./e2e. e2e +playwright.config.ts +playwright-report +test-results tests backups *.md