mirror of
https://github.com/Mailu/Mailu.git
synced 2024-12-12 10:45:38 +02:00
14 lines
274 B
Docker
14 lines
274 B
Docker
|
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
|
||
|
|