Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 550 Bytes

README.md

File metadata and controls

22 lines (14 loc) · 550 Bytes

Dokku static site

This is a reusable Docker image that allows to deploy static sites to Dokku with Dockerfile (and without using buildbacks).

HOW TO

  1. Put your static site into html/ folder in the root of your project.

  2. Create Dockerfile in the root of your static site with the following contents:

FROM giorgos/dokku-static-site
  1. Push the project to Dokku as usual:
DOKKU_HOST=dokku.me dokku-client.sh apps:create mysite
git push dokku master

The site is now available at http://mysite.dokku.me