Add docker instructions to readme
This commit is contained in:
parent
253ab92606
commit
037363fb37
1 changed files with 6 additions and 0 deletions
|
@ -6,3 +6,9 @@ Durf Doen 2.0
|
|||
1. Install bundler (`gem install bundler`)
|
||||
2. Install other gems (`bundle install`)
|
||||
3. Build and serve the site (`bundle exec nanoc live`)
|
||||
|
||||
### Optional setup via docker
|
||||
|
||||
You can run the code in a separated docker environment. It compiles the code and serves the files via nginx.
|
||||
|
||||
docker build --tag durfdoen2 . && docker run --publish 8080:80 --detach --name dd durfdoen2
|
||||
|
|
Loading…
Reference in a new issue