Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.03 KB

deploy_on_heroku.md

File metadata and controls

41 lines (26 loc) · 1.03 KB

Deploy docker image on heroku

First be sure that you have installed the heroku cli : Download and install

Then follow this process:

If you haven't already, log in to your Heroku account and follow the prompts to create a new SSH public key.

$ heroku login

Log in to Container Registry

You must have Docker set up locally to continue. You should see output when you run this command.

docker ps

Now you can sign into Container Registry.

heroku container:login

Push your Docker-based app

Build the Dockerfile in the current directory and push the Docker image. Warning: here we push the image on the dyslexia-ocr app

heroku container:push web -a dyslexia-ocr

Deploy the changes

Release the newly pushed images to deploy your app. Warning: here we deploy on the dyslexia-ocr app

heroku container:release web -a dyslexia-ocr