Docer — Pdf
RUN pip3 install ocrmypdf weasyprint
Build and run:
docker build -t my-pdf-toolkit . docker run --rm -v $(pwd):/work -it my-pdf-toolkit Example API that generates PDFs from HTML: docer pdf
RUN pip3 install ocrmypdf weasyprint
Build and run:
docker build -t my-pdf-toolkit . docker run --rm -v $(pwd):/work -it my-pdf-toolkit Example API that generates PDFs from HTML: docer pdf