Browse Source

added a Dockerfile which installs all deps and builds the docs.

Nick Stinemates 12 years ago
parent
commit
c6702bebe1
1 changed files with 15 additions and 0 deletions
  1. 15 0
      docs/Dockerfile

+ 15 - 0
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"]