Make our fonts available to the system

To make them more useable by cairo
This commit is contained in:
James Polley 2017-12-26 23:57:25 +11:00
parent f675580d6b
commit f6768e19d8

View file

@ -16,7 +16,6 @@ RUN set -ex \
libmemcached-dev \
libsasl2-dev \
' \
&& apt-get install -y git xmlsec1 libmysqlclient18 \
&& apt-get install -y $buildDeps --no-install-recommends \
&& rm -rf /var/lib/apt/lists/*
@ -40,6 +39,10 @@ RUN set -x \
&& DJANGO_SECRET_KEY=1234 STRIPE_PUBLIC_KEY=1234 STRIPE_SECRET_KEY=1234 \
DATABASE_URL="sqlite:////dev/null" \
python manage.py collectstatic --noinput -l -v 0
RUN set -ex \
&& cp static/build/fonts/*.ttf /usr/local/share/fonts/ \
&& fc-cache \
&& fc-list
FROM symposion_base as symposion_dev
VOLUME /app/symposion_app