Spaces:
Sleeping
Sleeping
Update entrypoint.sh
Browse files- entrypoint.sh +1 -1
entrypoint.sh
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
#!/bin/bash
|
| 2 |
|
| 3 |
# Start Ollama server in the background
|
| 4 |
-
ollama serve
|
| 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 serve &
|
| 5 |
|
| 6 |
# Wait for the server to be ready
|
| 7 |
while ! nc -z localhost 7860; do
|