FROM python:3.9

RUN pip install --upgrade pip

WORKDIR /mkdocs

RUN --mount=target=/build/requirements.txt,source=docs/requirements.txt \
    pip install -r /build/requirements.txt

ENTRYPOINT ["mkdocs"]