aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
blob: c84125c33c9d15f8b4f1906fa2b278cb2185e7f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
FROM debian:testing-slim AS build

RUN apt-get update && apt-get install -y \
    pandoc  \
    weasyprint \
    poppler-utils \
    make \
    && rm -rf /var/lib/apt/lists/*

ADD . /src
WORKDIR /src
RUN make

FROM nginx:alpine

COPY --from=build /src/*.html /usr/share/nginx/html/
COPY --from=build /src/spec.pdf /usr/share/nginx/html/