Skip to content

Instantly share code, notes, and snippets.

@PrimeTimeTran
Created June 24, 2025 06:58
Show Gist options
  • Save PrimeTimeTran/372f072cd2914932f8f7e07c10ea7f14 to your computer and use it in GitHub Desktop.
Save PrimeTimeTran/372f072cd2914932f8f7e07c10ea7f14 to your computer and use it in GitHub Desktop.
npm run build && \
docker build -t primetimetran/seepdeep:v1 \
--build-arg HOST="0.0.0.0" \
--build-arg HOST_URL="https://seepdeep-api-dev-7d6537ynfa-uc.a.run.app" \
--build-arg MONGODB_URI="mongodb+srv://primetimetran:[email protected]/next_unicorn" \
. --platform linux/amd64 && \
docker tag primetimetran/seepdeep:v1 us-central1-docker.pkg.dev/seepdeep-dev/seepdeep-api/v1 && \
docker push us-central1-docker.pkg.dev/seepdeep-dev/seepdeep-api/v1 && \
gcloud run deploy seepdeep-api-dev \
--image=us-central1-docker.pkg.dev/seepdeep-dev/seepdeep-api/v1 \
--region=us-central1 \
--platform=managed \
--allow-unauthenticated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment