gufett0 commited on
Commit
0494eed
·
1 Parent(s): a2c2563

improved dockerfile

Browse files
Files changed (1) hide show
  1. startup.sh +5 -2
startup.sh CHANGED
@@ -1,7 +1,10 @@
1
  #!/bin/bash
2
 
3
- # Pull the Ollama model
4
- ollama run gemma2:2b
 
 
 
5
 
6
  # Start the application
7
  #exec uvicorn app:app --host 0.0.0.0 --port 7860
 
1
  #!/bin/bash
2
 
3
+ # Start Ollama service
4
+ ollama serve &
5
+
6
+ # Ensure Ollama is ready
7
+ sleep 10
8
 
9
  # Start the application
10
  #exec uvicorn app:app --host 0.0.0.0 --port 7860