Add docker instructions to readme

This commit is contained in:
mcbloch 2020-08-29 14:59:16 +02:00
parent 253ab92606
commit 037363fb37

View file

@ -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