Skip to content

Commit

Permalink
Dockerfile fix for autobuild
Browse files Browse the repository at this point in the history
  • Loading branch information
johndmulhausen committed Oct 4, 2016
1 parent d12eeca commit 8f61311
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
12 changes: 4 additions & 8 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
4 changes: 3 additions & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@ incremental: true
permalink: pretty
safe: false
lsi: false
exclude: [vendor, bin]
exclude:
- vendor
- bin

gems:
- jekyll-redirect-from
Expand Down

0 comments on commit 8f61311

Please sign in to comment.