Skip to content

Commit 1837e38

Browse files
committed
Disable disk caching and move destination dir to /tmp
The disk cache and generated html was being dumped back into the user's directory and it can interfere with future runs. I was experimenting with changing the bind host but jekyll was deciding not to regenerate anything. Signed-off-by: Robert Young <[email protected]>
1 parent 6613a0d commit 1837e38

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,4 @@ WORKDIR /site/
4444
COPY . .
4545

4646
EXPOSE 4000
47-
48-
CMD eval "$(rbenv init -)" && cp -r /css/_sass/* /site/_sass/ && bundle exec jekyll serve --host ${JEKYLL_SERVE_BIND} --incremental
47+
CMD eval "$(rbenv init -)" && cp -r /css/_sass/bootstrap /site/_sass/ && bundle exec jekyll serve --host ${JEKYLL_SERVE_BIND} --incremental --disable-disk-cache --destination /tmp/site

0 commit comments

Comments
 (0)