openpgp-notes/Dockerfile

13 lines
340 B
Text
Raw Normal View History

# SPDX-FileCopyrightText: 2023 The "Notes on OpenPGP" project
# SPDX-License-Identifier: CC0-1.0
2023-09-15 14:01:36 +02:00
FROM sphinxdoc/sphinx AS build
RUN pip install myst-parser
COPY book/ /book
WORKDIR /book
RUN make html
RUN make epub
2023-09-15 14:01:36 +02:00
FROM scratch
COPY --from=build /book/build/html /
COPY --from=build /book/build/epub/OpenPGPforapplicationdevelopers.epub /