Override default Next.js _error page that imports <Html> from
next/document, which fails during Docker build prerendering.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Create not-found.tsx and global-error.tsx to prevent Next.js from
falling back to legacy Pages Router _error pages during static
generation, which fail with useContext null in Docker.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add `export const dynamic = 'force-dynamic'` to root layout so all
pages are rendered at request time instead of build time. Fixes
useContext null error during Docker build prerendering.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Upgrade bun 1.3.1 to 1.3.6 and remove --ignore-scripts flag to fix
prerender error during Docker build (null useContext dispatcher).
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>