forked from docker/docs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d12eeca
commit 8f61311
Showing
2 changed files
with
7 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters