You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
274 B
Docker
14 lines
274 B
Docker
6 years ago
|
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
|
||
|
|