Merge pull request #1739 from dotcloud/add-docs-dockerfile

Added a Dockerfile which installs all deps and builds the Docs
This commit is contained in:
Andy Rothfusz 2013-08-29 17:42:17 -07:00
commit 9b029a0854

15
docs/Dockerfile Normal file
View 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"]