enlistedmango
HOBBYOP
a year ago
I'm having issues with my Go backend and deploying it on Railway. I've not run into this issue before.
- Using Nix
- Also have a railway config file in my project
- I can build my app and run it locally with no issues
- Anytime I deply to railway, it just fails on being able to find this specific directory.
I've tried various different things and it just keeps failing on this part
14 Replies
a year ago
Hey, do you mind showing your build logs?
a year ago
Sure
turborx
FREE
a year ago
hi, railway can’t find your app/cmd/api directory either that path is wrong or missing in your repo. make sure app/cmd/api actually exists in the branch you’re deploying, and update your rootDirectory (in railway.json) or your WORKDIR (in your Dockerfile) to point to the correct folder.
a year ago
Happens to the best of us, is everything working now?
a year ago
Great, I'll mark this thread as solved!
a year ago
!s
Status changed to Solved uxuz • 11 months ago