DEV Community

Discussion on: Compile a Jekyll project without installing Jekyll or Ruby by using Docker

Collapse
 
hyzyla profile image
Yevhenii Hyzyla

docker-compose setup for jekyll

version: '3'

services:
  site:
    image: jekyll/jekyll:3.8.6
    command: jekyll serve --livereload --verbose
    ports:
      - 4000:4000
    volumes:
      - .:/srv/jekyll
      - ./vendor/bundle:/usr/local/bundle

Enter fullscreen mode Exit fullscreen mode