3 months ago
My container builds successfully but fails to start with "The executable cd could not be found" - however, there is NO cd command anywhere in my Dockerfile.
Evidence:
- Build logs show successful python:3.11 container build
- All dependencies install correctly
- Simple CMD: python -m uvicorn backend.api.main:app --host 0.0.0.0 --port $PORT
- Also getting "Failed to get private network endpoint" error
Repository:https://github.com/zwiersd/adoptimiser
Dockerfile: Dockerfile.railway (ultra-simple, no shell commands)
This appears to be a Railway platform caching/configuration issue.
2 Replies
3 months ago
Hey there! We've found the following might help you get unblocked faster:
🧵 The executable
/bin/shcould not be found.
If you find the answer from one of these, please let us know by solving the thread!
3 months ago
This thread has been marked as public for community involvement, as it does not contain any sensitive or personal information. Any further activity in this thread will be visible to everyone.
Status changed to Open brody • 3 months ago
3 months ago
@zwiersd can you share your Dockerfile in here, so that we can have a look? The repo link you shared - https://github.com/zwiersd/adoptimiser - is a 404 for me.