Update entrypoint.sh
Browse files- entrypoint.sh +5 -0
entrypoint.sh
CHANGED
@@ -1,5 +1,10 @@
|
|
1 |
#!/bin/sh
|
2 |
|
|
|
|
|
|
|
|
|
|
|
3 |
# Start the Ollama server in the background
|
4 |
ollama serve &
|
5 |
|
|
|
1 |
#!/bin/sh
|
2 |
|
3 |
+
|
4 |
+
# Ensure Ollama has the necessary directory
|
5 |
+
export OLLAMA_HOME=/ollama-data
|
6 |
+
|
7 |
+
|
8 |
# Start the Ollama server in the background
|
9 |
ollama serve &
|
10 |
|