feat: enable buildtime API_ENDPOINT env var

This commit is contained in:
Timothy J. Baek
2023-10-21 16:14:12 -07:00
committed by AJ ONeal
parent f4f1283cd5
commit 86395a8c1f
10 changed files with 692 additions and 64 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:3000 --add-host=host.docker.internal:host-gateway --name ollama-webui --restart always ollama-webui
docker run -d -p 3000:8080 --name ollama-webui --restart always ollama-webui
docker image prune -f