From c6702bebe116054a4c24487b5fb5d2c26e9fad4f Mon Sep 17 00:00:00 2001 From: Nick Stinemates <nick@stinemates.org> Date: Thu, 29 Aug 2013 23:49:41 +0000 Subject: [PATCH] added a Dockerfile which installs all deps and builds the docs. --- docs/Dockerfile | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 docs/Dockerfile diff --git a/docs/Dockerfile b/docs/Dockerfile new file mode 100644 index 0000000000..e5fd267ebd --- /dev/null +++ b/docs/Dockerfile @@ -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"]