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
|
||||
.sass-cache
|
||||
.*-cache
|
||||
.jekyll-metadata
|
||||
_scripts/config.sh
|
|
@ -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
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue