Closed Luisolml closed 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
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
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