Multipurpose-AI-Agent-Development / entrypoint-ollama.sh
devve1's picture
Rename entrypoint-test.sh to entrypoint-ollama.sh
683adca verified
raw
history blame
No virus
347 Bytes
#!/bin/bash
source /app/venv/bin/activate
echo "Starting Ollama server"
ollama serve &
sleep 1
echo "Pulling adrienbrault/nous-hermes2theta-llama3-8b:q8_0"
ollama pull adrienbrault/nous-hermes2theta-llama3-8b:q8_0
sleep 5
exec streamlit run ./app.py --server.headless true --server.enableXsrfProtection false --server.fileWatcherType none
wait