| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,15 @@ |
| 0 |
+from ubuntu:12.04 |
|
| 1 |
+maintainer Nick Stinemates |
|
| 2 |
+ |
|
| 3 |
+run apt-get update |
|
| 4 |
+run apt-get install -y python-setuptools make |
|
| 5 |
+run easy_install pip |
|
| 6 |
+add . /docs |
|
| 7 |
+run pip install -r /docs/requirements.txt |
|
| 8 |
+run cd /docs; make docs |
|
| 9 |
+ |
|
| 10 |
+expose 8000 |
|
| 11 |
+ |
|
| 12 |
+workdir /docs/_build/html |
|
| 13 |
+ |
|
| 14 |
+entrypoint ["python", "-m", "SimpleHTTPServer"] |