How to start gunicorn when using a custom Post Deployment Action on Azure App Service
I am trying to use a Post Deployment Action on Azure App Service with a Flask app. I followed this Stack overflow post to accomplish the Post Deployment Action, but this results in the container not starting with this error: Container has finished running with exit code: 0
. According to this that means that the container has run to completion due to not running continuously, so I assumed that this means that I also need to start the Flask app via gunicorn at the end of my Post Deployment Action.