diff --git a/README.md b/README.md index 6dccfec463..c8f697c7f6 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,14 @@ To build and view the site locally: For more details, read on. +## Quickstart with Docker ## + +To build and view site with docker: + + docker-compose up + +It will incrementally build and serve site at `http://localhost:8080` + ## Contributing ## Please have a look at [http://docs.scala-lang.org/contribute.html](http://docs.scala-lang.org/contribute.html) before making a contribution. diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000000..26f6d5b398 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,9 @@ +version: '2' + +services: + jekyll: + image: bretfisher/jekyll-serve + volumes: + - .:/site + ports: + - '8080:4000'