Dockerfile fix for autobuild

This commit is contained in:
John Mulhausen 2016-10-04 00:26:09 -07:00
parent d12eeca057
commit 8f61311862
2 changed files with 7 additions and 9 deletions

View File

@ -1,11 +1,7 @@
FROM starefossen/ruby-node:2-4
FROM starefossen/github-pages:onbuild
RUN git clone https://www.github.com/docker/docker.github.io docs
ONBUILD RUN git clone https://www.github.com/docker/docker.github.io docs
RUN gem install --no-document github-pages
ONBUILD WORKDIR docs
EXPOSE 4000
EXPOSE 4000
CMD jekyll serve --source docs -d docs/_site -H 0.0.0.0 -P 4000
ONBUILD COPY . /usr/src/app

View File

@ -9,7 +9,9 @@ incremental: true
permalink: pretty
safe: false
lsi: false
exclude: [vendor, bin]
exclude:
- vendor
- bin
gems:
- jekyll-redirect-from