goldfishsoftwarelabs commited on
Commit
cca95e9
·
verified ·
1 Parent(s): 8b179d0

Create entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +9 -0
entrypoint.sh ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+ # Start Ollama in the background
3
+ ollama serve &
4
+
5
+ # Pull the model (runs only if not already downloaded)
6
+ ollama pull hf.co/Chun121/qwen3-4B-rpg-roleplay:Q4_K_M
7
+
8
+ # Start the FastAPI server
9
+ uvicorn app:app --host 0.0.0.0 --port 8000