Not the poster you replied to, but try Google Cloud Run or Azure Container Apps.
Both scale to zero, are portable, and allow full use of your language/runtime/framework of choice. Take any app you are deploying to instance compute today and add a Dockerfile and ship it.
AWS App runner comes close, but doesn't have the option to scale to zero.