c8e8633639
Using a volume allows "caching" the bundled dependencies for jekyll. Created a "fresh" target for also removing volumes.
13 lines
283 B
YAML
13 lines
283 B
YAML
---
|
|
version: '3'
|
|
services:
|
|
website:
|
|
image: yadm/jekyll:2019-10-17
|
|
ports:
|
|
- 4000:4000
|
|
volumes:
|
|
- .:/srv/jekyll
|
|
- jekyll-bundle:/usr/local/bundle
|
|
command: jekyll serve --config _config.yml,_dev.yml -t --watch --incremental
|
|
volumes:
|
|
jekyll-bundle:
|