2017-01-27 14:49:48 +02:00
|
|
|
FROM jfloff/alpine-python:3.4-slim
|
|
|
|
RUN /entrypoint.sh \
|
|
|
|
-p sphinx \
|
|
|
|
-p recommonmark \
|
|
|
|
-p sphinx_rtd_theme \
|
|
|
|
-a make \
|
|
|
|
&& echo
|
|
|
|
|
|
|
|
RUN mkdir -p /docs/
|
|
|
|
WORKDIR /docs/
|
|
|
|
COPY Makefile .
|
|
|
|
COPY source ./source/
|
|
|
|
RUN make html
|
|
|
|
WORKDIR /docs/build/html/
|
2017-01-27 15:09:49 +02:00
|
|
|
EXPOSE 80
|
|
|
|
CMD ["python", "-m", "http.server", "80"]
|