# build various sites using mdbook FROM scratch AS base COPY quorum-vault-system /quorum-vault-system FROM base AS build COPY --from=stagex/mdbook . / WORKDIR /quorum-vault-system RUN ["/usr/bin/mdbook", "build"] FROM stagex/filesystem AS install COPY --from=stagex/python . / COPY --from=stagex/musl . / COPY --from=stagex/zlib . / ADD index.html /var/www/html/ COPY --from=build /quorum-vault-system/book /var/www/html WORKDIR /var/www/html ENTRYPOINT ["/usr/bin/python", "-m", "http.server", "8080"]