- pack command
- Node.js ( optional )
- Ruby Programming Language
pack build example-cnbp-node-ruby -B heroku/builder:22
bundle
./bin/vite install
gem install bundler
foreman start -f Procfile.dev
Prepare the credentials for each platform so that they can be used in docker command.
Container Registry & Runtime (Docker Deploys) | Heroku Dev Center
$ heroku container:login
$ docker tag example-cnbp-node-ruby registry.heroku.com/<app>/web
$ docker push registry.heroku.com/<app>/web
$ heroku container:release web -a <app>
クイックスタート: Docker コンテナ イメージを Artifact Registry に保存する | Artifact Registry のドキュメント | Google Cloud
$ gcloud auth configure-docker <location>-central1-docker.pkg.dev
$ docker tag example-cnbp-node-ruby <location>-docker.pkg.dev/<project>/<repos>/<image>
$ docker push <location>-docker.pkg.dev/<project>/<repos>/<image>
$ gcloud run deploy <service> --image <location>-docker.pkg.dev/<project>/<repos>/<image>