Build Keeps Failing on Image Build
professor-mad
HOBBYOP
4 months ago
***UPDATE: SOLVED***
Builds fail during the "Build image" step with the message: "Failed to build an image. Please check the build logs for more details."
Build logs
The build logs only show:
- scheduling build on Metal builder "builder-hdvmmv"
- No npm install, npm ci, or node ace build output
- No error messages or stack traces
What we’ve tried
- nixpacks.toml – Node 22, NPM_CONFIG_PRODUCTION=false, explicit build commands (npm ci, node ace build) – no change
- Dockerfile – Multi-stage build with Node 22 Alpine – same failure
Context
- Tests pass locally and in GitHub Actions (Node 22)
- Deployment triggered by GitHub merge to main
- AdonisJS 6 app, TypeScript, package.json build script: node ace build
- Start command: node build/bin/server.js
- Railway status shows recent "Builds may experience failure" incident (resolved Feb 3)
Any ideas?
0 Replies
Status changed to Solved brody • 4 months ago