Last active
August 24, 2020 17:11
-
-
Save jsoendermann/1571311e4bc5d5c947f1145047621743 to your computer and use it in GitHub Desktop.
Running jekyll inside docker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker run \ | |
--rm \ | |
-it \ | |
--volume="$PWD:/srv/jekyll" \ | |
--volume="$PWD/vendor/bundle:/usr/local/bundle" \ | |
-p 8080:8080 \ | |
-p 35729:35729 \ | |
--env JEKYLL_ENV=production \ | |
jekyll/jekyll:3.8 \ | |
jekyll serve --watch --livereload --port 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment