Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1 - Download Heroku CLI
- https://cli-assets.heroku.com/heroku-cli/channels/stable/heroku-cli-linux-x64.tar.gz -O heroku.tar.gz
- 2 - Login to Heroku
- heroku login
- 3 - Create a new app
- heroku create
- 4 - Login to heroku docker registry
- docker login --username=_ --password=$(heroku auth:token) registry.heroku.com
- 5 - Tag image, (after docker build .)
- docker tag 6d4abd9dc0b1 registry.heroku.com/[[HEROKU-APP-NAME-RETURNED-BY-CREATE]]/web
- 5a - You can test the image with live-reload enabled
- docker run -p 8080:8080 -p 80:80 -it -v /home/tallica/Docker/HerokuApp/app/:/srv/app cf3ad037b039
- 6 - Push and enjoy
- docker push registry.heroku.com/[[TAG]]
- Tallica
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement