The Dockerfile has `COPY public ./public`, but `public/` directory was never committed to git (empty directories are not tracked by git without a placeholder file). On a fresh checkout (after `git pull` on prod), `public/` didn't exist, causing: Step 8/24 : COPY public ./public COPY failed: file not found in build context or excluded by .dockerignore: stat public: file does not exist Fix: added `dashboard/public/.gitkeep` so the directory is tracked. Discovered via the new build-context validator script (`scripts/validate-dashboard-build.sh`) which simulates a fresh git checkout + docker build.
168 B
168 B