diff options
author | Melody Horn <melody@boringcactus.com> | 2020-10-25 18:14:46 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2020-10-25 18:14:46 -0600 |
commit | e900d76aaaa171496d6fefa28ce07e3364500743 (patch) | |
tree | 857b37a84727fbd878354b1b14489b9bcc929a08 /Dockerfile | |
parent | 743870947f61028c43bd414d5248fedf9bb72817 (diff) | |
download | spec-e900d76aaaa171496d6fefa28ce07e3364500743.tar.gz spec-e900d76aaaa171496d6fefa28ce07e3364500743.zip |
just build with make
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 17 |
1 files changed, 17 insertions, 0 deletions
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/ |