From 76f579b0138ca5216541352c7c2f3d9eb8f6ed4d Mon Sep 17 00:00:00 2001 From: Claude Date: Fri, 23 Oct 2026 23:18:58 +0000 Subject: [PATCH] =?UTF-8?q?fix(dashboard):=20add=20public/.gitkeep=20?= =?UTF-8?q?=E2=80=94=20directory=20was=20missing=20in=20git?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- dashboard/public/.gitkeep | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 dashboard/public/.gitkeep diff --git a/dashboard/public/.gitkeep b/dashboard/public/.gitkeep new file mode 100644 index 0000000..fe2113f --- /dev/null +++ b/dashboard/public/.gitkeep @@ -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.