joyent-portal/legacy/docs/Dockerfile
Sérgio Ramos 8295bd6882 chore: initial lerna setup
this shall be a progressive process
2017-05-25 10:56:50 +01:00

17 lines
300 B
Docker

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/
EXPOSE 80
CMD ["python", "-m", "http.server", "80"]