mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
c8e8633639
Using a volume allows "caching" the bundled dependencies for jekyll. Created a "fresh" target for also removing volumes.
14 lines
283 B
YAML
14 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:
|