My 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 Enclave 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 Enclave, where it should also build successfully.