add links to the Dockerfiles as canonical external requirements, add example of building and exposing the docs and simplify the Dockerfile for cacheability

This commit is contained in:
Sven Dowideit 2013-10-29 10:39:44 +10:00 committed by Tibor Vass
parent bed37d2204
commit 23e91a6d7f
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ docs inside the container, even starting a simple HTTP server on port
build .`` and run the resulting image. This is the equivalent to build .`` and run the resulting image. This is the equivalent to
``make clean server`` since each container starts clean. ``make clean server`` since each container starts clean.
In the ``docs/`` directory, run:
```docker build -t docker:docs . && docker run -p 8000:8000 docker:docs```
Usage Usage
----- -----
* Follow the contribution guidelines (``../CONTRIBUTING.md``) * Follow the contribution guidelines (``../CONTRIBUTING.md``)