how to deploy a FastAPI python app to Azure App Service Web App (Linux) from a Windows machine running VSCode

Nick Katsivelos 0 Reputation points
2025-01-04T23:41:21.4666667+00:00

I have been tryring for days to get a simple deployment of a basic API written in python using FastAPI. I cannot get it to run. all sorts of errors. I have literally spent two days with CoPilot, GPT 1o Mini and Sonnet 3.5 and have not gotten it solved - using github actions and a publishing profile. build runs fine it dies in deployment. Github action ofter shows success, but accessing the site results in a 503

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,930 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.