Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,931 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I uploaded a simple flask app that comunicates with my deployment from azure ai studio but it looks like the flask server isnt running on the azure web app service after deployment. Can you help me resolve this issue?
Thanks for posting your question in the Microsoft Q&A forum.
To resolve the issue:
app.py
or application.py
. Azure App Service looks for these specific filenames by default.requirements.txt
file is in the root directory and includes all necessary dependencies, including FlaskConfiguration
under Settings
WEBSITE_WEBDEPLOY_USE_SCM
with value false
Deployment Center
Click on Logs
to view any error messages or warningsaz webapp log tail --name <app-name> --resource-group <resource-group-name>
to check for startup issuesapp.py
doesn't include app.run()
as Azure uses the flask run
optionPlease don't forget to close up the thread here by upvoting and accept it as an answer if it is helpful