Deploying an existing Docker image to Heroku

Pulling the image

docker pull my/image
docker images | grep my/image | awk '{print $3}'

Pushing to Heroku

docker tag image_id registry.heroku.com/my-heroku-app/web
docker push registry.heroku.com/my-heroku-app/web

Deploying!

heroku container:release web --app=my-heroku-app

Automatizing

--

--

--

❤︎ software, from Grenoble, France

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The Road to Integration: Part 2 — Application Development

How to Use Hexadecimal Color Strings in Flutter?

PicoCTF writeup MarcoHard WeakEdge

Achieving Abstraction in Java with real world example

How Cloud Computing Will Transform Traditional Information Tec

Creating a Kubeflow Pipelines Component

VAIOT Weekly Brief — 24.01.2022

Stanford Code In Place

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Thomas Muguet

Thomas Muguet

❤︎ software, from Grenoble, France

More from Medium

Guide to File Formats and A New File Format for TSDB

Practical docker

What Docker is?

Install WordPress with Docker Nginx Reverse Proxy to Apache with SSL