15 lines
299 B
Docker
15 lines
299 B
Docker
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"]
|