Commit 61e4ad3
committed
fix: drop unsupported buildContext/dockerfilePath from mcp railway.json
CodeRabbit flagged buildContext as unsupported. Confirmed against Railway's
config schema: supported build keys are builder, watchPatterns, buildCommand,
dockerfilePath, railpackVersion. buildContext was silently ignored. Railway sets
the Docker build context via the service Root Directory, not a config key, so the
MCP service must set Root Directory=mcp-server in the dashboard; with that, the
context is mcp-server/ and the Dockerfile is auto-detected, so dockerfilePath is
dropped too (a repo-root-relative path is wrong inside the restricted context).
Keeps only supported keys + the deploy healthcheck block.1 parent 435c4e3 commit 61e4ad3
1 file changed
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
| 4 | + | |
7 | 5 | | |
8 | 6 | | |
9 | 7 | | |
| |||
0 commit comments