Build keeps failing
zwiersd
PROOP

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.

$10 Bounty

2 Replies

Railway
BOT

3 months ago

Hey there! We've found the following might help you get unblocked faster:

If you find the answer from one of these, please let us know by solving the thread!


brody
EMPLOYEE

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


case
PRO

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.


Loading...