diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000000000000000000000000000000000000..0203acc2a97002659027dce34655e782f8693b85 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,8 @@ +#!/bin/sh +cd /home/worker +if [ -z "$(ls -A model)" ]; then #if is empty download +echo "Downloading model" +wget -O model/xix http://minio.clarin-pl.eu/public/models/xix +wget -O model/xxi http://minio.clarin-pl.eu/public/models/xxi +fi +./morphodita_service