File size: 299 Bytes
a131c07
 
 
 
dde06f2
 
 
a18417c
 
 
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
# Run additional commands from your Dockerfile
(curl -fsSL https://ollama.com/install.sh | sh && ollama serve > ollama.log 2>&1) &
# Keep the container running by running a dummy command
# Start ollama
ollama serve &
sleep 2
ollama list
ollama pull nomic-embed-text
ollama pull llama3:8b