Skip to content

Instantly share code, notes, and snippets.

@balkian
Last active November 1, 2015 18:52
Show Gist options
  • Save balkian/c231172db37d5393f722 to your computer and use it in GitHub Desktop.
Save balkian/c231172db37d5393f722 to your computer and use it in GitHub Desktop.
Deploying a static website in heroku without extra plugins
  • Add the Dockerfile to the root of your static files
  • Init the git repository and/or add the remote of your dokku app:
git remote add dokku [email protected]:appname
  • Commit all your changes and the repository
git commit -am Pushing to dokku
git push dokku master
  • Optionally, add any extra domains with the domains plugin:
ssh [email protected] domains:add appname domain.com

Find all the available commands and help:

ssh [email protected]
FROM nginx
EXPOSE 80
ADD . /usr/share/nginx/html/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment