mirror of https://github.com/docker/docs.git
Dockerfile fix for autobuild
This commit is contained in:
parent
d12eeca057
commit
8f61311862
12
Dockerfile
12
Dockerfile
|
|
@ -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
|
ONBUILD COPY . /usr/src/app
|
||||||
|
|
||||||
EXPOSE 4000
|
|
||||||
|
|
||||||
CMD jekyll serve --source docs -d docs/_site -H 0.0.0.0 -P 4000
|
|
||||||
|
|
|
||||||
|
|
@ -9,7 +9,9 @@ incremental: true
|
||||||
permalink: pretty
|
permalink: pretty
|
||||||
safe: false
|
safe: false
|
||||||
lsi: false
|
lsi: false
|
||||||
exclude: [vendor, bin]
|
exclude:
|
||||||
|
- vendor
|
||||||
|
- bin
|
||||||
|
|
||||||
gems:
|
gems:
|
||||||
- jekyll-redirect-from
|
- jekyll-redirect-from
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue