binary1ne commited on
Commit
de80ed1
·
verified ·
1 Parent(s): 1808f99

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +8 -0
entrypoint.sh ADDED
@@ -0,0 +1,8 @@
 
 
 
 
 
 
 
 
 
1
+ #!/bin/sh
2
+
3
+ # Start Ollama in background (binds to localhost only)
4
+ ollama run "$OLLAMA_MODEL" --modelfile /dev/null &
5
+ serve &
6
+
7
+ # Start Nginx reverse proxy (auth token check)
8
+ nginx -g 'daemon off;'