$ cd docker/kaggle_discord_bot_for_cloud_run
$ cp .env.sample .env
Fill .env
file.
$ docker build -t kaggle-discord-bot-for-cloud-run .
$ gcloud auth configure-docker
$ docker tag kaggle-discord-bot-for-cloud-run gcr.io/[PROJECT-ID]/kaggle-discord-bot-for-cloud-run
$ docker push gcr.io/[PROJECT-ID]/kaggle-discord-bot-for-cloud-run
$ cd [This project directory]/terraform
Put account.json
file from GCP service account keys
$ terraform init
$ terraform plan
$ terraform apply