Docer Pdf (2025)

Build and run:

WORKDIR /work VOLUME ["/work"] ENTRYPOINT ["/bin/bash"] docer pdf

version: '3.8' services: pdf-generator: image: ghcr.io/kozea/weasyprint:latest ports: - "8080:8080" command: weasyprint --server 0.0.0.0:8080 volumes: - ./templates:/templates Send HTML via POST: Build and run: WORKDIR /work VOLUME ["/work"] ENTRYPOINT