From e900d76aaaa171496d6fefa28ce07e3364500743 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 25 Oct 2020 18:14:46 -0600 Subject: just build with make --- Dockerfile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Dockerfile (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c84125c --- /dev/null +++ b/Dockerfile @@ -0,0 +1,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/ -- cgit v1.2.3