Build Failed
Deploy failed with "Build failed"
Cause
This error is returned when you attempt a Dockerfile Deploy, but your Dockerfile could not be built successfully.
Resolution
The logs returned when you hit this error include the full output from the Docker build that failed for your Dockerfile. Review the logs first to try and identify the root cause.
Since Aptible uses Docker, you can also attempt to reproduce the issue locally by installing Docker locally then running docker build .
from your app repository.
Once your app builds locally with a given Dockerfile, you can commit all changes to the Dockerfile and push the repo to Aptible, where it should also build successfully.
Updated 6 months ago
Did this page help you?