ChandimaPrabath commited on
Commit
b84d489
·
verified ·
1 Parent(s): ab7af0c

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. 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