version: '3'
volumes:
  node_modules:
  bundle:
services:
  site:
    command: >
      bash -c "bundler install && npm i && npm start"
    # image: jekyll/jekyll:latest
    build: .
    volumes:
      - .:/srv/jekyll
      - node_modules:/srv/jekyll/node_modules
      - bundle:/usr/local/bundle
    ports:
      - 4000:4000
      - 3000:3000
      - 35729:35729
