Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/oliverbenns/cloud-run-static-site

An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.
https://github.com/oliverbenns/cloud-run-static-site

cloud-run continuous-delivery docker gcp makefile

Last synced: about 17 hours ago
JSON representation

An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.

Awesome Lists containing this project

README

        

# Cloud Run Static Site

An example of a GCP Cloud Run deployment hosting a static website, with the Docker image hosted in Artifact Registry.

## Setup and deploying

In order to run this yourself:

- Set all the required environment variables (see .env.example)
- Run `make init`
- Run `make deploy`
- For subsequent deploys, just run `make deploy`

## Running locally.

For local development, you may want to use you own static site generator or local http server. If you want to test the final app in docker. Run `make run` and visit `http://localhost:3000`.