Azure Python Flask webapp starting blank when deploying?

I have a Python application. It has been running for a long time in a simple environment, but I now intend to move it to Azure web app.

From my understanding it runs as a Docker container, where I can access the Docker container e.g. through SSH in the Azure portal.

What Iโ€™m not understanding is the lifecycle of my web app. Lets say I deploy it using Azure CLI az webapp up. Some of my questions:

  • When, if ever, does my container start blank after the first deployment?
  • Can I send a parameter to โ€œstart cleanโ€, and avoid any inherited bugs coming from multiple consecutive deploys?
  • Do additional instances spin up as new clean containers?

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.