{"repo":"BretFisher/jekyll-serve","free":true,"listed":false,"github":"https://github.com/BretFisher/jekyll-serve","clone":"git clone https://github.com/BretFisher/jekyll-serve.git","description":"Jekyll in a Docker Container For Easy SSG Development","language":"Dockerfile","stars":360,"topics":["jekyll","static-site-generator","docker","docker-image","docker-compose"],"license":"MIT","category":"docs-static-sites","readme_excerpt":"Jekyll in a Docker Container But this has been done. Why not docker run jekyll/jekyll ? - I wanted two images, one for easy CLI ( bretfisher/jekyll ) and one for easy local server for dev with sane defaults ( bretfisher/jekyll-serve ), which I use 90% of the time - So you can start any Jekyll server with docker-compose up - I wanted to dev on a local Jekyll site without having Jekyll installed on my host OS - I wanted it to be as easy as possible to start - I wanted current amd64 and arm64 images using official Ruby and Jekyll latest So, this does that. Note I have courses on Docker (including a Lecture on Jekyll in Docker). :bangbang: :bangbang: :bangbang: :warning: WARNING: :warning: This isn't meant to be a production image that you run a web server with. I don't do that with the Jekyll CLI that comes with this image. Jekyll CLI generates a static site that you can run with GitHub Pages, Netlify, or your own NGINX setup. Furthermore, I don't version anything so these images will not run guaranteed versions of Ruby, Jekyll, etc. (which, if you're running a server, should pin all versions usually.) Docker Images Image Purpose Example ---------------------------------------------------------------------------- --------------------------------------------------------------------- ----------------------------------------------------------------- bretfisher/jekyll Runs Jekyll by default with no options, good for general CLI commands docker run -v $(pwd):/site bretfisher/jekyll n","default_branch":null,"files":null,"tree":[],"storefront":"/r/BretFisher","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/BretFisher/jekyll-serve/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}