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.
NOTE: After asking this same question on Koyeb Community forums, I was told to split my Docker command into command and args. I already did so and nothing changed, as Koyeb configuration over docker just considers the “build” stage of it, and as I’ve already said, the “build” stage of my deployment goes well, it is the deploy stage that is failing and I have not any way to know what is actually happening and how to solve it.
If anyone needs more details on any process we can talk.
I am desperate enough to even have a chat through Discord or something to find some help with this.
Thanks in advance!