whatsthispdf07 / start_service.sh
mitulagr2's picture
Update Dockerfile
ac693fd
raw
history blame
247 Bytes
#!/bin/sh
#
# curl -fsSL https://ollama.com/install.sh | sh
# Start Ollama in the background
ollama serve &
# Wait for Ollama to start
sleep 5
# Pull and run <YOUR_MODEL_NAME>
ollama pull phi3:mini
#
fastapi run /code/app/main.py --port 7860