fix: docker

This commit is contained in:
Timothy J. Baek
2024-01-07 20:50:09 -08:00
parent 0345a80033
commit 87326a3157
2 changed files with 13 additions and 8 deletions

2
run.sh
View File

@@ -1,5 +1,5 @@
docker build -t ollama-webui .
docker stop ollama-webui || true
docker rm ollama-webui || true
docker build -t ollama-webui .
docker run -d -p 3000:8080 --add-host=host.docker.internal:host-gateway -v ollama-webui:/app/backend/data --name ollama-webui --restart always ollama-webui
docker image prune -f