File size: 358 Bytes
a131c07
 
 
 
 
 
 
 
 
dde06f2
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/bash

# Execute the start.sh script from the base image (assuming it's in /path/to/start.sh)
./start.sh &

# 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 pull llama3