diff --git a/compose/local/django/Dockerfile b/compose/local/django/Dockerfile index 9c1874c..433e4f2 100644 --- a/compose/local/django/Dockerfile +++ b/compose/local/django/Dockerfile @@ -16,6 +16,8 @@ RUN apk update \ && 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 \ + # fallback font for Weasy + && apk add ttf-ubuntu-font-family font-noto \ && apk add libsass sassc # Requirements are installed here to ensure they will be cached. diff --git a/compose/production/django/Dockerfile b/compose/production/django/Dockerfile index c5a1728..6e8225f 100644 --- a/compose/production/django/Dockerfile +++ b/compose/production/django/Dockerfile @@ -13,6 +13,8 @@ RUN apk update \ && apk add libffi-dev py-cffi \ # 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 \ + # fallback font for Weasy + && apk add ttf-ubuntu-font-family font-noto \ && apk add libsass sassc RUN addgroup -S django \