mirror of
https://github.com/Mailu/Mailu.git
synced 2025-01-12 02:28:20 +02:00
Add a Dockerfile for buliding the docs
This commit is contained in:
parent
e9aa85ad01
commit
f97d0d9e43
13
docs/Dockerfile
Normal file
13
docs/Dockerfile
Normal file
@ -0,0 +1,13 @@
|
||||
FROM python:3-alpine
|
||||
|
||||
RUN apk add --no-cache git
|
||||
|
||||
COPY docs/requirements.txt requirements.txt
|
||||
RUN pip install -r /requirements.txt \
|
||||
&& mkdir /src
|
||||
|
||||
WORKDIR /src
|
||||
COPY .git /src/.git
|
||||
|
||||
RUN sphinx-versioning build -b -B 1.5 -r 1.5 -w '^[0-9.]*$' -w master -W '^$' /src /build
|
||||
|
@ -3,4 +3,3 @@ Sphinx
|
||||
sphinx-autobuild
|
||||
sphinx-rtd-theme
|
||||
sphinxcontrib-versioning
|
||||
paramiko
|
||||
|
Loading…
Reference in New Issue
Block a user