2013-08-29 19:49:41 -04:00
|
|
|
from ubuntu:12.04
|
|
|
|
maintainer Nick Stinemates
|
2013-10-28 20:39:44 -04:00
|
|
|
#
|
|
|
|
# docker build -t docker:docs . && docker run -p 8000:8000 docker:docs
|
|
|
|
#
|
2013-08-29 19:49:41 -04:00
|
|
|
|
|
|
|
run apt-get update
|
|
|
|
run apt-get install -y python-setuptools make
|
|
|
|
run easy_install pip
|
2013-10-28 20:39:44 -04:00
|
|
|
#from docs/requirements.txt, but here to increase cacheability
|
|
|
|
run pip install Sphinx==1.1.3
|
2013-11-22 17:46:07 -05:00
|
|
|
run pip install sphinxcontrib-httpdomain==1.1.9
|
2013-08-29 19:49:41 -04:00
|
|
|
add . /docs
|
|
|
|
run cd /docs; make docs
|
|
|
|
|
|
|
|
expose 8000
|
|
|
|
|
|
|
|
workdir /docs/_build/html
|
|
|
|
|
|
|
|
entrypoint ["python", "-m", "SimpleHTTPServer"]
|