Skip to content

zabop/cloud-run-uvicorn-fastapi-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

cloud-run-uvicorn-fastapi-minimal

Create GCP Artifact Registry repo:

gcloud artifacts repositories create uvicorn-repo --repository-format=docker --location=us-west2 --description="Docker repository"

Build image:

gcloud builds submit --region=us-west2 --tag us-west2-docker.pkg.dev/fallbekken/uvicorn-repo/uvicorn-image:tag1

Then set up a Cloud Run service manually in GCP Console. Take care to expose port 3000.

Result:

https://uvicorn-image-n6n7ol2ntq-uc.a.run.app/

(Works whenever we allow it to work in the security settings.)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published