speed up build time by caching gems
This commit is contained in:
parent
4fcb70dca1
commit
52d83b5a24
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
||||||
_site
|
_site
|
||||||
.sass-cache
|
.*-cache
|
||||||
.jekyll-metadata
|
.jekyll-metadata
|
||||||
_scripts/config.sh
|
_scripts/config.sh
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
jekyll:
|
jekyll:
|
||||||
image: jekyll/builder
|
image: jekyll/builder
|
||||||
command: bash /srv/jekyll/_scripts/build-then-deploy.sh
|
command: bash /srv/jekyll/_scripts/build-then-deploy.sh
|
||||||
|
@ -6,3 +5,4 @@ jekyll:
|
||||||
- 4000:4000
|
- 4000:4000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/srv/jekyll
|
- .:/srv/jekyll
|
||||||
|
- ./.gem-cache/bundle:/usr/local/bundle
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
jekyll:
|
jekyll:
|
||||||
image: jekyll/jekyll
|
image: jekyll/jekyll
|
||||||
command: jekyll serve --livereload --reload_port 35729
|
command: jekyll serve --livereload --reload_port 35729
|
||||||
|
@ -7,3 +6,4 @@ jekyll:
|
||||||
- 35729:35729
|
- 35729:35729
|
||||||
volumes:
|
volumes:
|
||||||
- .:/srv/jekyll
|
- .:/srv/jekyll
|
||||||
|
- ./.gem-cache/bundle:/usr/local/bundle
|
||||||
|
|
Loading…
Reference in a new issue