mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
13 lines
342 B
Bash
Executable file
13 lines
342 B
Bash
Executable file
#!/bin/bash
|
|
# https://til.simonwillison.net/cloudrun/ship-dockerfile-to-cloud-run
|
|
|
|
NAME="datasette-apache-proxy-demo"
|
|
PROJECT=$(gcloud config get-value project)
|
|
IMAGE="gcr.io/$PROJECT/$NAME"
|
|
|
|
gcloud builds submit --tag $IMAGE
|
|
gcloud run deploy \
|
|
--allow-unauthenticated \
|
|
--platform=managed \
|
|
--image $IMAGE $NAME \
|
|
--port 80
|