瀏覽代碼

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

Nick Stinemates 12 年之前
父節點
當前提交
c6702bebe1
共有 1 個文件被更改,包括 15 次插入0 次删除
  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"]