Browse Source

HOT-FIX: adiciona fontes ao Alpine necessárias ao Weasyprint

pull/1686/head 3.1.47
Edward Ribeiro 7 years ago
parent
commit
933ef10c59
  1. 2
      Dockerfile

2
Dockerfile

@ -4,6 +4,8 @@ ENV BUILD_PACKAGES postgresql-dev graphviz-dev graphviz build-base git pkgconfig
python3-dev libxml2-dev jpeg-dev libressl-dev libffi-dev libxslt-dev nodejs py3-lxml \ python3-dev libxml2-dev jpeg-dev libressl-dev libffi-dev libxslt-dev nodejs py3-lxml \
py3-magic postgresql-client poppler-utils vim py3-magic postgresql-client poppler-utils vim
RUN apk --update add fontconfig ttf-dejavu && fc-cache -fv
RUN apk add --no-cache python3 nginx tzdata && \ RUN apk add --no-cache python3 nginx tzdata && \
python3 -m ensurepip && \ python3 -m ensurepip && \
rm -r /usr/lib/python*/ensurepip && \ rm -r /usr/lib/python*/ensurepip && \

Loading…
Cancel
Save