LLM-ADE-dev / ollama_init.sh
WilliamGazeley
Install ollama in docker image
eac07bb
raw
history blame
195 Bytes
#!/bin/bash
echo "Starting Ollama server..."
ollama serve &
echo "Waiting for Ollama server to be active..."
while [ "$(ollama list | grep 'NAME')" == "" ]; do
sleep 1
done
ollama pull $1