Tamarin/hooks/containerbuild/marp-compiler/add-resources
2022-08-11 09:00:15 +02:00

14 lines
221 B
Bash
Executable File

#!/usr/bin/env bash
set -e
if [ -e './datasets/fonts' ]
then
for font_file in $(find . -wholename "./datasets/fonts/*.ttf")
do
echo 'COPY datasets/fonts/$font_file /root/.fonts/$font_file' >> Dockerfile
done
fi
exit 0