Spaces:
Running
Running
ww commited on
Update entrypoint.sh
Browse files- entrypoint.sh +2 -1
entrypoint.sh
CHANGED
|
@@ -1,7 +1,8 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# Start Ollama server in the background
|
| 4 |
-
OLLAMA_HOST=0.0.0.0
|
|
|
|
| 5 |
|
| 6 |
# Wait for the server to be ready
|
| 7 |
while ! nc -z localhost 7860; do
|
|
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# Start Ollama server in the background
|
| 4 |
+
# OLLAMA_HOST=0.0.0.0
|
| 5 |
+
OLLAMA_ORIGINS=* ollama serve &
|
| 6 |
|
| 7 |
# Wait for the server to be ready
|
| 8 |
while ! nc -z localhost 7860; do
|