mirror of
https://github.com/usetrmnl/byos_laravel.git
synced 2026-03-14 12:23:33 +00:00
Update Dockerfile to install extra fonts
My solution to: https://github.com/usetrmnl/byos_laravel/issues/179
This commit is contained in:
parent
f23c81377d
commit
888ffb44b2
1 changed files with 11 additions and 0 deletions
11
Dockerfile
11
Dockerfile
|
|
@ -30,6 +30,17 @@ COPY --chown=www-data:www-data .env.example .env
|
|||
# Install the composer dependencies
|
||||
RUN composer install --no-dev --no-interaction --prefer-dist --optimize-autoloader
|
||||
|
||||
# add extra fonts
|
||||
RUN apk add --no-cache \
|
||||
fontconfig \
|
||||
font-noto \
|
||||
font-noto-cjk-extra \
|
||||
font-noto-emoji \
|
||||
font-twemoji \
|
||||
&& find /usr/share/fonts -name '*CJK*' ! -name '*Regular*' -delete \
|
||||
&& fc-cache -f \
|
||||
&& rm -rf /var/cache/fontconfig /var/cache/apk
|
||||
|
||||
########################
|
||||
# Assets Image
|
||||
########################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue