/azure-function-python-custom-worker

Demonstrating the Azure Functions custom worker runtime calling a generic FastAPI + Uvicorn app

Primary LanguageDockerfile

Azure Functions Custom Handler with Python

This is a very basic repo to demonstrate how you might use Functions Custom Handlers to host + run a generic FastAPI app, running via Uvicorn.

To run:

  • Clone the repo, open in vscode and Reopen in the devcontainer
  • In the terminal, run func start
  • In your browser, hit http://localhost:7071/api/MyFunc