ollama-webui / ollama_start.sh
ruslanmv's picture
Update ollama_start.sh
dde06f2
raw
history blame
358 Bytes
#!/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