baseurl fix

This commit is contained in:
John Mulhausen 2016-10-03 19:44:11 -07:00
parent bc04375f4e
commit e71693c545
2 changed files with 6 additions and 8 deletions

View File

@ -1,12 +1,11 @@
FROM starefossen/ruby-node
FROM starefossen/ruby-node:2-4
RUN mkdir -p /docs
VOLUME /docs
RUN git clone https://www.github.com/docker/docker.github.io docs
RUN gem install --no-document github-pages jekyll-github-metadata
EXPOSE 4000
WORKDIR /docs
EXPOSE 4000
RUN gem install github-pages
CMD jekyll clean && jekyll serve -H 0.0.0.0 -P 4000
CMD jekyll serve --source docs -d docs/_site -H 0.0.0.0 -P 4000

View File

@ -5,7 +5,6 @@ kramdown:
html_to_native: true
hard_wrap: false
syntax_highlighter: rouge
baseurl: /
incremental: true
permalink: pretty
safe: false