The runner stage installed the application at /project, which was also the documented bind-mount point — mounting a host project there shadowed the CLI and the container exited with MODULE_NOT_FOUND on packages/cli/dist/bin.js. - Install the app under /app and run the entrypoint by absolute path. - Reserve /workspace (empty in the image, container workdir) as the project mount point. - Update docs/docker.md: mount at /workspace, and document that embedded Postgres/global state lives in /home/node/.fusion with a named-volume example so persistence actually captures it. Verified: image builds; `docker run -v host:/workspace` boots, embedded Postgres initializes, /api/health returns ok. Fixes #2414 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
6.3 KiB
6.3 KiB