From 321cb2344d3a86e855ef0dde1f3689e3521c092c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 16 May 2026 19:57:49 -0400 Subject: [PATCH] fix docker build: exclude stale pages-router directories All apps use Next.js App Router. A leftover pages/index.tsx on the server was conflicting with app/page.tsx and breaking the build. Adding the glob to .dockerignore prevents any pages/ directory from leaking into the image. Co-Authored-By: Claude Sonnet 4.6 --- .dockerignore | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.dockerignore b/.dockerignore index ba0d71e..c6cf492 100644 --- a/.dockerignore +++ b/.dockerignore @@ -8,9 +8,13 @@ yarn-debug.log* yarn-error.log* pnpm-debug.log* .next +*/.next dist coverage tmp .env.local .env.*.local +# Exclude any stale pages-router directories (all apps use App Router) +apps/*/pages +apps/*/src/pages