Run Locally:
- Install Node
- Install the Node Functions Framework
npx @google-cloud/functions-framework --target=helloWorld - Check it out: http://localhost:8080
Run Locally with Buildpacks & Docker:
pack build --builder=gcr.io/buildpacks/builder sample-functions-framework-node
docker run -it -ePORT=8080 -p8080:8080 sample-functions-framework-node
Run on Cloud Run: