1
0
mirror of https://github.com/Mailu/Mailu.git synced 2025-05-19 22:23:16 +02:00
Mailu/docs/Dockerfile
Tim Möhlmann 6479f5177b
Revert "Add a Dockerfile for buliding the docs"
This reverts commit f97d0d9e437bceaf7dfd54d37cac23c46f1fd7b7.
2018-10-01 12:07:49 +03:00

14 lines
275 B
Docker

FROM python:3-alpine
COPY requirements.txt /requirements.txt
RUN pip install -r /requirements.txt \
&& apk add --no-cache nginx \
&& mkdir /run/nginx
COPY ./nginx.conf /etc/nginx/conf.d/default.conf
COPY . /docs
RUN sphinx-build /docs /build
CMD nginx -g "daemon off;"