Serverless function using Frappe Framework

I my case i want to use FastAPI to implement a custom API on top of my frappe app as you suggested to me here moreover my bench is deployed on a dedicated server so i want to keep it simple without having to manage other VMs/Services of cloud providers
What do you think is the simplest way to deploy it giving the above ?

thanks a lot