Draft for contract printing

This commit is contained in:
2023-02-17 19:46:22 +01:00
parent 749794a5f8
commit 7ac89f1bb3
15 changed files with 592 additions and 4 deletions

View File

@@ -1,6 +1,11 @@
FROM python:3.10
# make the 'app' folder the current working directory
RUN apt update && apt install -y xfonts-base xfonts-75dpi \
&& rm -rf /var/lib/apt/lists/*
RUN wget https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-2/wkhtmltox_0.12.6.1-2.bullseye_amd64.deb \
&& dpkg -i wkhtmltox_0.12.6.1-2.bullseye_amd64.deb \
&& rm wkhtmltox_0.12.6.1-2.bullseye_amd64.deb
WORKDIR /code
# copy both 'package.json' and 'package-lock.json' (if available)