ollama / start.sh
Germano Cavalcante
Update Modelfile - llama3.2-blender-assistant
5a9e15b
raw
history blame
435 Bytes
#!/bin/bash
# Set environment variables for the ollama server
export OLLAMA_HOST=0.0.0.0
export OLLAMA_ORIGINS=https://projects.blender.org
# Start the Ollama service in the background
ollama serve &
# Wait for the service to initialize
sleep 10
# Create the model using Ollama
ollama create llama3.2-blender-assistant -f Modelfile
ollama run llama3.2-blender-assistant
# Keep the container running indefinitely
tail -f /dev/null