Weasy Renderer

This commit is contained in:
Jens Kadenbach 2019-09-11 15:37:45 +02:00
parent d5dcfd5fa2
commit ccdd2c2982
6 changed files with 38 additions and 5 deletions

View file

@ -13,7 +13,10 @@ RUN apk update \
# Translations dependencies
&& apk add gettext \
# https://docs.djangoproject.com/en/dev/ref/django-admin/#dbshell
&& apk add postgresql-client
&& apk add postgresql-client \
# https://weasyprint.readthedocs.io/en/latest/install.html
&& apk add gcc musl-dev jpeg-dev zlib-dev libffi-dev cairo-dev pango-dev gdk-pixbuf-dev \
&& apk add ttf-ubuntu-font-family
# Requirements are installed here to ensure they will be cached.
COPY ./requirements /requirements