fix: docker container volume mount location

This commit is contained in:
Timothy J. Baek
2023-12-27 00:11:23 -08:00
parent 21c7f50790
commit 7bdef56192
5 changed files with 8 additions and 7 deletions

2
run.sh
View File

@@ -1,5 +1,5 @@
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 --name ollama-webui --restart always 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