embeds-api / entrypoint.sh
quocanuit's picture
feat: bge-m3
2571e41
Raw History Blame Contribute Delete
181 Bytes
#!/bin/bash
ollama serve &
while ! nc -z localhost 7860; do
echo "Waiting for Ollama server to start..."
sleep 1
done
echo "Pulling the model..."
ollama pull bge-m3
wait