just use mkdocs
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
cellarspoon 2022-01-21 14:28:31 +01:00
parent b2bc6f5d86
commit 04188b3bfa
Signed by: decentral1se
GPG Key ID: 03789458B3D0C410

View File

@ -4,10 +4,12 @@ EXPOSE 8000
COPY . /docs COPY . /docs
WORKDIR /docs
ENTRYPOINT ["/bin/sh"] ENTRYPOINT ["/bin/sh"]
RUN apk add --no-cache curl RUN apk add --no-cache curl
RUN pip install mkdocs-awesome-pages-plugin mkdocs-material-extensions RUN pip install mkdocs-awesome-pages-plugin mkdocs-material-extensions
CMD ["-c", "mkdocs build && python -m http.server --bind 0.0.0.0 --directory site 8000"] CMD ["mkdocs", "serve"]