Skip to content

fix: install litestream in Dockerfile to prevent Railway deploy failure - #52

Merged
lnanology merged 1 commit into
mainfrom
fix/dockerfile-litestream-missing
Sep 9, 2026
Merged

fix: install litestream in Dockerfile to prevent Railway deploy failure#52
lnanology merged 1 commit into
mainfrom
fix/dockerfile-litestream-missing

Conversation

@lnanology

Copy link
Copy Markdown
Owner

PR #51 added a Dockerfile for Glama.ai MCP verification, but Railway used it to build production (despite railway.json pinning "builder": "NIXPACKS") and the deploy failed:

Deploy > Create container
The executable /app/bin/litestream could not be found.

railway.json's deploy.startCommand always wraps uvicorn with litestream for continuous SQLite replication, regardless of which builder produced the image. Previously only nixpacks.toml's [phases.litestream] installed that binary. This Dockerfile now installs the identical binary (same version/URL as nixpacks.toml), so it is correct no matter which builder Railway picks.

Production itself was not affected -- Railway kept serving the last successful deploy -- but every subsequent deploy would have failed the same way until this is merged.

PR #51 added a Dockerfile for Glama.ai MCP verification, but Railway
used it to build production (despite railway.json pinning
"builder": "NIXPACKS") and the deploy failed:

  Deploy > Create container
  The executable `/app/bin/litestream` could not be found.

railway.json's deploy.startCommand always wraps uvicorn with
litestream for continuous SQLite replication, regardless of which
builder produced the image. Previously only nixpacks.toml's
[phases.litestream] installed that binary. This Dockerfile now
installs the identical binary (same version/URL as nixpacks.toml),
so it is correct no matter which builder Railway picks.

Production itself was not affected -- Railway kept serving the last
successful deploy -- but every subsequent deploy would have failed
the same way until this is merged.
@vercel

vercel Bot commented Sep 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
finlab-ai Ready Ready Preview Sep 9, 2026 1:53pm UTC

@lnanology
lnanology merged commit 59097cb into main Sep 9, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant