Skip to content

fix(deploy): wrap startCommand in sh -c for env var expansion - #12

Merged
doublesilver merged 1 commit into
devfrom
fix/railway-shell-cmd
Feb 28, 2026
Merged

doublesilver merged 1 commit into
devfrom
fix/railway-shell-cmd

Conversation

@doublesilver

Copy link
Copy Markdown
Owner

Fixes ${PORT} not being expanded by Railway's exec. Wraps in sh -c.

Railway's startCommand doesn't use shell expansion by default.
Wrap in sh -c so $PORT is properly resolved at runtime.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vercel

vercel Bot commented Feb 28, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
knowledge-copilot Building Building Preview, Comment Feb 28, 2026 2:20am

@doublesilver
doublesilver merged commit ecb8b6c into dev Feb 28, 2026
5 checks passed
@doublesilver
doublesilver deleted the fix/railway-shell-cmd branch February 28, 2026 02:21

This branch was successfully deployed

1 active deployment
Preview — b8cc6f12 Deployed Feb 28, 2026 by vercel[bot]
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