diff --git a/Makefile b/Makefile index 288cca4fc..31efb63f8 100644 --- a/Makefile +++ b/Makefile @@ -214,3 +214,11 @@ changelog: release: hack/goreleaser.sh + +serve-docs: + docker run \ + --rm \ + -v "$$(pwd)/site:/srv/jekyll" \ + -it -p 4000:4000 \ + jekyll/jekyll \ + jekyll serve --livereload diff --git a/site/README-JEKYLL.md b/site/README-JEKYLL.md index 9d5d2205c..5ed0b28a6 100644 --- a/site/README-JEKYLL.md +++ b/site/README-JEKYLL.md @@ -1,3 +1,7 @@ +# Running in Docker + +To run this site in a Docker container, you can use `make serve-docs` from the root directory. + # Dependencies for MacOS Install the following for an easy to use dev environment: