All checks were successful
CI — Website / Website — typecheck, build (pull_request) Successful in 1m1s
Nixpacks built Vite but had no production start command, so Coolify returned Cannot GET /. Co-authored-by: Cursor <cursoragent@cursor.com>
12 lines
836 B
Markdown
12 lines
836 B
Markdown
# Handoff
|
|
|
|
> Current state and the next action — nothing else. **Hard cap: 25 lines.**
|
|
|
|
## Current state
|
|
|
|
- **Outcome:** Coolify `Cannot GET /` fixed — website now has a production static server and a Dockerfile.
|
|
- **Cause:** Nixpacks built Vite `dist/` but had no `start` command; README also told Coolify to publish `/dist` (absolute empty path).
|
|
- **Shipped:** `packages/website/server.mjs` (`npm start` on `0.0.0.0:$PORT`); `Dockerfile` + `nginx.conf`; `nixpacks.toml` `[start]`; Vite `base` is `/`.
|
|
- **Verified:** `website:typecheck` + `website:build`; local `node server.mjs` → GET `/` 200 (LexAI HTML), `/healthz` 200, JS asset `text/javascript`.
|
|
- **Next smallest action:** Redeploy the Coolify app with Base Directory `packages/website` (no leading slash), static site **off**, Dockerfile port 80 or Nixpacks port 3000.
|