Awesome
Cloud Run with R – Hello World
⭐️ Read the blog post: Serverless R functions with Google Cloud Run ⭐️
An example of creating serverless functions using R
, plumber
, Docker
and Cloud Run.
Take a look at the Swagger API UI at https://cloudrun-hello-r-tjf3c3jq4q-an.a.run.app/__swagger__/
File descriptions:
app.R
describes the endpoints of the server and respective request handler functionsserver.R
sets up the server environment with plumberDockerfile
describes the setup of the docker container used to run the appcloudbuild.yaml
sets up continuous deployment to Cloud Run, when commits are pushed to master