Skip to content

rohitgr7/earwise

Repository files navigation

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