gutschilla / elixir-pdf-generator

Create PDFs with wkhtmltopdf or puppeteer/chromium from Elixir.
MIT License
332 stars 71 forks source link

issue when deploying in production #83

Closed Luisolml closed 3 years ago

Luisolml commented 3 years ago

when generating the pdf, the text disappears. I have this configuration:

Dockerfile:

ARG PUPPETEER_SKIP_DOWNLOAD=true RUN npm -g install chrome-headless-render-pdf puppeteer FROM alpine:3.11 RUN apk update && \ apk add --no-cache \ bash \ wkhtmltopdf=0.12.5-r0

mix.ex

{:pdf_generator, "~> 0.6.2"},

in the local environment it generates the PDFs correctly but when I deploy in production it creates them without text