Ollama / ollama.sh
PyxiLabs's picture
Update ollama.sh
e519b49 verified
raw
history blame
233 Bytes
#!/bin/sh
source /app/venv/bin/activate
# Start Ollama in the background
# Starting server
echo "Starting Ollama server"
ollama serve &
# Wait for the server to start
sleep 5
# Pull the model
ollama pull all-minilm
exec ollama serve