fix(gts): add custom fonts to GTS

- Update the Dockerfile to copy custom fonts to the web directory.
- Add the Karla font to GTS.
This commit is contained in:
Dan Anglin 2023-08-15 13:37:57 +01:00
parent 87e29a8bfe
commit 49568d5f15
Signed by: dananglin
GPG key ID: 0C1D44CFBEE68638
3 changed files with 7 additions and 0 deletions

BIN
assets/gotosocial/fonts/Karla-Italic-VariableFont_wght.ttf (Stored with Git LFS) Normal file

Binary file not shown.

BIN
assets/gotosocial/fonts/Karla-VariableFont_wght.ttf (Stored with Git LFS) Normal file

Binary file not shown.

View file

@ -15,6 +15,7 @@ RUN --mount=type=bind,source=.,target=/packages \
&& cp /packages/entrypoint.sh /usr/local/bin/entrypoint \
&& cp /packages/config.yaml /flow/gts/config/config.yaml \
&& cp /packages/assets/images/background.jpg /flow/gts/web/assets/background.jpg \
&& cp /packages/assets/fonts/* /flow/gts/web/assets/fonts/ \
&& chown -R {{ .GoToSocial.LinuxUID }}:{{ .FlowGID }} /flow/gts \
&& chmod a+x /usr/local/bin/entrypoint \
&& rm -rf /tmp/*