Spaces:
Running
Running
Update entrypoint.sh
Browse files- entrypoint.sh +3 -0
entrypoint.sh
CHANGED
@@ -1,5 +1,8 @@
|
|
1 |
#!/bin/bash
|
2 |
|
|
|
|
|
|
|
3 |
# Start the Ollama server in the background
|
4 |
ollama serve &
|
5 |
|
|
|
1 |
#!/bin/bash
|
2 |
|
3 |
+
# Set the OLLAMA_ROOT environment variable to a writable directory
|
4 |
+
export OLLAMA_ROOT=/tmp/ollama
|
5 |
+
|
6 |
# Start the Ollama server in the background
|
7 |
ollama serve &
|
8 |
|