fix(dashboard): add public/.gitkeep — directory was missing in git
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.
This commit is contained in:
3
dashboard/public/.gitkeep
Normal file
3
dashboard/public/.gitkeep
Normal file
@@ -0,0 +1,3 @@
|
||||
# Static assets directory
|
||||
# Files placed here are served at the root path of the dashboard.
|
||||
# Currently empty — Next.js App Router doesn't require any static assets.
|
||||
Reference in New Issue
Block a user