Static documentation site in Mkdocs
https://doc.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
406 B
21 lines
406 B
2 years ago
|
FROM python:3.8-alpine
|
||
|
|
||
|
WORKDIR /tmp
|
||
|
|
||
|
COPY requirements.txt requirements.txt
|
||
|
|
||
|
RUN apk add --no-cache \
|
||
|
git curl \
|
||
|
&& apk add --no-cache --virtual .build gcc musl-dev \
|
||
|
&& pip install --user -r requirements.txt \
|
||
|
&& apk del .build gcc musl-dev \
|
||
|
&& rm -rf /tmp/*
|
||
|
|
||
|
ENV PATH=$PATH:/root/.local/bin
|
||
|
|
||
|
WORKDIR /docs
|
||
|
|
||
|
EXPOSE 8000
|
||
|
|
||
|
ENTRYPOINT ["mkdocs"]
|
||
|
CMD ["serve", "--dev-addr=0.0.0.0:8000"]
|