2020-08-12 14:42:12 +02:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
set -e
|
|
|
|
|
2020-08-12 15:51:48 +02:00
|
|
|
|
|
|
|
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
|
|
|
|
|