I have been trying for days to deplpy a dash app on an Azure web app. I have tried following guides (for example this) but I failed, both deploying via Github or via Azure CLI.
My app is quite simple, it uses a Dash object named app
and in the main I have:
if __name__ == '__main__':
server = app.server
app.run_server()
Then, I do az webapp up
(or Github whatever) and I upload it on a Webapp. Nothing. I even tried to set up the startup command from the web app to call gunicorn
but it didn’t work. My application doesn’t start, I get application error (same here).
The deployment is ok (no errors on the logs).
I hoped that this part would be the simplest (I have set up before my Azure functions and Synapse to retrieve and process the data) but I was evidently wrong.
Do you have ideas or complete working examples to share?