Skip to content

rjoonas/heroku-docker-nginx-example

Repository files navigation

heroku-docker-nginx-example

Barebones example of deploying the official nginx Docker image to Heroku. Serves an example html file at the root directory.

Try it now!

Fire up an nginx proxy on Heroku with a single click:

Deploy to Heroku

Manual deployment

You will need to create a Heroku account and install the Heroku CLI, eg. brew install heroku.

git clone git@github.com:rjoonas/heroku-docker-nginx-example.git
cd heroku-docker-nginx-example
heroku container:login
heroku create
heroku container:push web
heroku container:release web
heroku open