Most seem to use docker, here’s one for Google Cloud functions: https://cloud.google.com/functions/docs/running/overview
If you use something like “cloud run” then it’s containers anyway.