15 lines
217 B
Docker
15 lines
217 B
Docker
FROM python:3.7-slim-buster as builder
|
|
|
|
WORKDIR /mkdocs
|
|
|
|
RUN pip install mkdocs mkdocs-material
|
|
|
|
COPY docs/ docs
|
|
COPY mkdocs.yml .
|
|
|
|
RUN mkdocs build
|
|
|
|
FROM nginx
|
|
|
|
COPY --from=builder /mkdocs/site /usr/share/nginx/html
|