chroops/text-embedding
1
1#!/bin/bash2 3# Start Ollama server in the background4ollama serve &5 6# Wait for the server to be ready7while ! nc -z localhost 7860; do8 echo "Waiting for Ollama server to start..."9 sleep 110done11 12# Pull the model13echo "Pulling the model..."14ollama pull nomic-embed-text15ollama pull all-minilm16 17# Keep the container running18wait