File size: 374 Bytes
e7106ca
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

# Start Ollama in background
ollama serve &

# Wait for Ollama to be ready
echo "Waiting for Ollama to start..."
until curl -s http://localhost:11434/api/tags > /dev/null 2>&1; do
  sleep 2
done

echo "Ollama ready. Pulling Qwen2.5-Coder-7B..."
ollama pull qwen2.5-coder:7b

echo "Model ready. Kodingo inference service is live."

# Keep container running
wait