Merge pull request #1739 from dotcloud/add-docs-dockerfile
Added a Dockerfile which installs all deps and builds the Docs Upstream-commit: 9b029a08549e2fef8f71115e5707c363368662e9 Component: engine
This commit is contained in:
15
components/engine/docs/Dockerfile
Normal file
15
components/engine/docs/Dockerfile
Normal file
@ -0,0 +1,15 @@
|
||||
from ubuntu:12.04
|
||||
maintainer Nick Stinemates
|
||||
|
||||
run apt-get update
|
||||
run apt-get install -y python-setuptools make
|
||||
run easy_install pip
|
||||
add . /docs
|
||||
run pip install -r /docs/requirements.txt
|
||||
run cd /docs; make docs
|
||||
|
||||
expose 8000
|
||||
|
||||
workdir /docs/_build/html
|
||||
|
||||
entrypoint ["python", "-m", "SimpleHTTPServer"]
|
||||
Reference in New Issue
Block a user