Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steren/cloud-run-bun
A sample running bun on Cloud Run
https://github.com/steren/cloud-run-bun
Last synced: 12 days ago
JSON representation
A sample running bun on Cloud Run
- Host: GitHub
- URL: https://github.com/steren/cloud-run-bun
- Owner: steren
- License: apache-2.0
- Created: 2022-07-06T12:22:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-09-24T21:01:51.000Z (about 1 year ago)
- Last Synced: 2024-10-05T11:42:14.378Z (about 2 months ago)
- Language: TypeScript
- Size: 8.79 KB
- Stars: 42
- Watchers: 2
- Forks: 6
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Bun on Cloud Run
[Bun](https://bun.sh/) is a fast all-in-one JavaScript runtime.
You can package it into a container and run it on Cloud Run, a serverless platform.
## Deploy to Cloud Run
Simply click
[![Run on Google Cloud](https://storage.googleapis.com/cloudrun/button.svg)](https://deploy.cloud.run)
Or clone this repo and run this command:
```
gcloud run deploy
```Both of these commands will build the sources into a container and deploy it to a Cloud Run service
## Build and run Locally
Build with
```
docker build -t bun
```Run locally with:
```
docker run -p 8080:8080 bun
```