Make our fonts available to the system
To make them more useable by cairo
This commit is contained in:
parent
f675580d6b
commit
f6768e19d8
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,6 @@ RUN set -ex \
|
||||||
libmemcached-dev \
|
libmemcached-dev \
|
||||||
libsasl2-dev \
|
libsasl2-dev \
|
||||||
' \
|
' \
|
||||||
|
|
||||||
&& apt-get install -y git xmlsec1 libmysqlclient18 \
|
&& apt-get install -y git xmlsec1 libmysqlclient18 \
|
||||||
&& apt-get install -y $buildDeps --no-install-recommends \
|
&& apt-get install -y $buildDeps --no-install-recommends \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& 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 \
|
&& DJANGO_SECRET_KEY=1234 STRIPE_PUBLIC_KEY=1234 STRIPE_SECRET_KEY=1234 \
|
||||||
DATABASE_URL="sqlite:////dev/null" \
|
DATABASE_URL="sqlite:////dev/null" \
|
||||||
python manage.py collectstatic --noinput -l -v 0
|
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
|
FROM symposion_base as symposion_dev
|
||||||
VOLUME /app/symposion_app
|
VOLUME /app/symposion_app
|
||||||
|
|
Loading…
Reference in a new issue