a month ago
Deployment ID: 6b5100c6
Region: US Midwest
Python 3.12.13 installs successfully
pip install -r requirements.txt completes successfully
Build reaches “exporting to docker image format”
container image digests are generated
Railway then reports “Failed to build an image”
No underlying error appears in Build Logs
The same behavior occurred on two consecutive builds
Attachments
1 Replies
Status changed to Awaiting Railway Response Railway • about 1 month ago
a month ago
Your Hobby plan has a 4 GB compressed image size limit, and the build's image size check runs right after the "exporting to docker image format" step. When that limit is exceeded the build logs show only the generic "Failed to build an image" message without a specific reason. Reducing your final image size below 4 GB (e.g. with multi-stage builds or a .dockerignore) will let the build succeed.
Status changed to Awaiting User Response Railway • about 1 month ago
a month ago
This thread has been marked as solved automatically due to a lack of recent activity. Please re-open this thread or create a new one if you require further assistance. Thank you!
Status changed to Solved Railway • about 1 month ago