Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 586 Bytes

README.md

File metadata and controls

23 lines (17 loc) · 586 Bytes

GCP:

  1. Go to GCP and create an account.
  2. Create a repo in registry.
  3. Get the repo tag
  4. Build docker
docker build -t earwise .
  1. Tag and deploy docker
docker tag earwise:latest us-east1-docker.pkg.dev/earwise-377812/earwise/earwise:latest
docker push us-east1-docker.pkg.dev/earwise-377812/earwise/earwise:latest
  1. Create the app
gcloud run deploy --image us-east1-docker.pkg.dev/earwise-377812/earwise/earwise:latest --cpu 4 --concurrency 2 --memory 16Gi --platform managed --min-instances 0 --max-instances 5 --timeout 5m --port 8005