234a892119
The copybot service's custom start command was 'bash start.sh' — a relic of the scratchpad folder it was first deployed from; builds from the repo root have no root start.sh, so image rebuilds crashed and Railway kept serving the years-old image (which is also why start.sh changes never took effect via redeploy). railway.json now pins the start command; nixpacks.toml's default no longer points at the retired webhook_receiver. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
11 lines
443 B
TOML
11 lines
443 B
TOML
# Explicit build config for Railway/Nixpacks (pure-stdlib Python service).
|
|
# Start = the 24/7 copybot worker (bash host/start.sh, also pinned by
|
|
# railway.json's deploy.startCommand). git is needed at runtime — the bot
|
|
# persists its book by committing state + feed back to GitHub. The old
|
|
# webhook_receiver default is retired (archive/webhook_receiver.py).
|
|
[phases.setup]
|
|
nixPkgs = ["python311", "git"]
|
|
|
|
[start]
|
|
cmd = "bash host/start.sh"
|