File: docs.dockerfile

package info (click to toggle)
pysequoia 0.1.29-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 652 kB
  • sloc: sh: 22; python: 20; makefile: 11
file content (13 lines) | stat: -rw-r--r-- 381 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM rust AS build

RUN apt-get update -y -qq && \
    apt-get install -y -qq --no-install-recommends ca-certificates pandoc && \
    apt-get clean

COPY doc /public/doc
COPY README.md /public
WORKDIR /public
RUN pandoc --css=doc/tufte.min.css -s -f markdown+smart --metadata pagetitle="PySequoia" --toc --to=html5 README.md -o index.html

FROM scratch
COPY --from=build /public /