I’m deploying a Spring Boot API using Dockerfile. Everything was running fine until I added GitHub Packages maven dependencies, so I had to manage the settings.xml file with all the authentication for the project to be able to download those dependencies.
After modifying the Dockerfile, the build stage runs correctly, but when the deployment stage gets reached, it just shows up this logs (twice, it seems to be trying to create 2 instances but both of them get stopped whatsoever):
Instance created. Preparing to start...
Internal deployment error. If the error persists, try to redeploy or contact us.
Instance stopped
For more information, I tried to reproduce this deployment locally, using common docker build
and docker run
commands, and everything worked fine, I could get my API working on localhost.
What I’m trying to find out is not just the solution, but where or what should I do to get more information about what is throwing an error, and what error is being thrown, because I find myself currently with 0 information about what is happening at all.