ChandimaPrabath commited on
Commit
37673ad
·
verified ·
1 Parent(s): 929b107

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +16 -0
entrypoint.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ # Start the Ollama server in the background
4
+ ollama serve &
5
+
6
+ # Wait for the server to be ready
7
+ sleep 5
8
+
9
+ # Pull the necessary models
10
+ ollama pull llama3.2
11
+ ollama pull llama3.2:1b
12
+ ollama pull granite3-moe
13
+ ollama pull granite3-moe:1b
14
+
15
+ # Bring the Ollama server to the foreground
16
+ fg %1