| 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 |
| 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 |