Hi, I am trying to deploy a Flask app for first time, using docker, but I am having issues. After some seconds, the deployment fails, and logs do not give much detail:
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
In order to provide more details, this app connects to a Postgres DB created within my Koyeb account. On the other hand, I have ran the docker image in local and everything seems to be working.
I cannot find a way to see what failed inside the docker container during the deployment, so I don’t have a clue what is the problem.
I have tried both, using the web and the koyeb cli, but any of them succeed. And I am using a free instance type
Finally, If it helps, the full log trace is the following:
type oInstance created. Preparing to start...
Instance is starting. Propagating network configuration...
Network configuration propagated
standard_init_linux.go:228: exec user process caused: exec format error
Application exited with code 1. This usually indicates an application failure. Check that the command used to launch your application is correct.
Instance stopped
Could anyone help with this?