speed up build time by caching gems

This commit is contained in:
Jeppe Ernst 2018-07-07 22:38:37 +02:00
parent 4fcb70dca1
commit 52d83b5a24
3 changed files with 3 additions and 3 deletions

2
.gitignore vendored
View File

@ -1,4 +1,4 @@
_site
.sass-cache
.*-cache
.jekyll-metadata
_scripts/config.sh

View File

@ -1,4 +1,3 @@
jekyll:
image: jekyll/builder
command: bash /srv/jekyll/_scripts/build-then-deploy.sh
@ -6,3 +5,4 @@ jekyll:
- 4000:4000
volumes:
- .:/srv/jekyll
- ./.gem-cache/bundle:/usr/local/bundle

View File

@ -1,4 +1,3 @@
jekyll:
image: jekyll/jekyll
command: jekyll serve --livereload --reload_port 35729
@ -7,3 +6,4 @@ jekyll:
- 35729:35729
volumes:
- .:/srv/jekyll
- ./.gem-cache/bundle:/usr/local/bundle