2020-01-19 20:03:01 +00:00
|
|
|
FROM python:3.8-slim-buster as builder
|
2019-12-09 20:00:45 +00:00
|
|
|
|
|
|
|
WORKDIR /mkdocs
|
|
|
|
|
2019-12-10 10:25:34 +00:00
|
|
|
RUN pip install mkdocs mkdocs-material
|
2019-12-09 20:00:45 +00:00
|
|
|
|
|
|
|
COPY docs/ docs
|
|
|
|
COPY mkdocs.yml .
|
|
|
|
|
|
|
|
RUN mkdocs build
|
|
|
|
|
|
|
|
FROM nginx
|
|
|
|
|
|
|
|
COPY --from=builder /mkdocs/site /usr/share/nginx/html
|