I'm pretty new to dokku. I've setup a new dokku droplet at DigitalOcean. I created a small static website with a www directory containing a single HTML file named index.html. In the root dir I added an empty .nginx file. When I tried to push, I got the following output:
Counting objects: 5, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (5/5), 356 bytes | 0 bytes/s, done.
Total 5 (delta 0), reused 0 (delta 0)
-----> Cleaning up ...
remote: Cloning into '/tmp/tmp.FFdk4jjPhW'...
-----> Building dokkutest ...
remote: warning: You appear to have cloned an empty repository.
remote: done.
remote: HEAD is now at 0046a12... First implementation
-----> Unable to select a buildpack
To [email protected]:dokkutest
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to '[email protected]:dokkutest'
Any thoughts on what I might be doing wrong?
Apparently, the nginx buildpack is no longer installed with dokku by default. I've used these steps to set things up:
https://florianheinemann.com/github/dokku/2014/11/17/Hosting-static-pages-on-Dokku.html