From 3ee653a631c93edf298e2e2d1629b267abc7a70b Mon Sep 17 00:00:00 2001 From: parththakkar106 Date: Mon, 6 Jul 2026 17:06:49 +0530 Subject: [PATCH] Plan: record successful Docker test (WSL2) Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01KFsGHju9szibJJa2YJcdbg --- plan/07-phase-public-repo.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/plan/07-phase-public-repo.md b/plan/07-phase-public-repo.md index e1368e0..8af1dec 100644 --- a/plan/07-phase-public-repo.md +++ b/plan/07-phase-public-repo.md @@ -42,10 +42,13 @@ history/messages are fine to publish as-is. - [x] `docker-compose.yml`: single service, named volume mounted at `/data` (`AIDND_DB_PATH=/data/data.db`), port mapping. - [x] `start.sh` for macOS/Linux dev parity with `start.ps1` (optional, nice-to-have). -- [ ] Test: `docker compose up` from a clean clone → app works at `http://localhost:8000`. - **Blocked locally: Docker is not installed on the dev machine.** Verified without Docker: - production frontend build + backend serving the SPA (deep links OK) + DB-path override - all work. Test the image on any Docker machine (or let Render build it in Phase 10). +- [x] Test: `docker compose up` from a clean clone → app works at `http://localhost:8000`. + Done 2026-07-06 in WSL2 Ubuntu (Docker Engine installed there for this): health + SPA + + deep links 200, scenario created via API survives a full `compose down`/`up` (named + volume). Two real bugs found and fixed: package-lock.json was missing top-level + `@emnapi/*` entries (regenerated with npm 11.18) and the build image needed node 24 to + match the npm-11 lockfile. Note: from Windows, reach a WSL-hosted container via the WSL + IP (`hostname -I`) — localhost forwarding didn't apply; irrelevant on normal hosts. ## Publish