Add Llama bash installation script

This commit is contained in:
Johan 2025-02-17 10:12:17 +01:00
parent 91b271910f
commit 604523ba1f

View File

@ -0,0 +1,9 @@
# Make sure script is ran as root
if [[ $EUID -ne 0 ]]; then
exec sudo /bin/bash "$0" "$@"
fi
curl -fsSL https://ollama.com/install.sh | sh
ollama serve
# docker run -d -p 3000:8080 --gpus=all -v ollama:/root/.ollama -v open-webui:/app/backend/data --name open-webui --restart always ghcr.io/open-webui/open-webui:ollama