damoodamoo / azure-function-python-custom-worker

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:Dockerfile 45.7%Language:Shell 28.3%Language:Python 25.9%