Akash297 commited on
Commit
3afffcd
·
verified ·
1 Parent(s): 2f57b6f

Update start.sh

Browse files
Files changed (1) hide show
  1. start.sh +3 -0
start.sh CHANGED
@@ -1,6 +1,9 @@
1
  #!/bin/bash
 
 
2
  mkdir -p /app/.ollama
3
  chmod 777 /app/.ollama
 
4
  # Start Ollama in the background
5
  echo "Starting Ollama..."
6
  ollama serve &
 
1
  #!/bin/bash
2
+
3
+ # Create the necessary directory and set permissions for Ollama
4
  mkdir -p /app/.ollama
5
  chmod 777 /app/.ollama
6
+
7
  # Start Ollama in the background
8
  echo "Starting Ollama..."
9
  ollama serve &