File size: 457 Bytes
2edf2fb
 
 
 
 
 
 
 
 
 
 
 
 
c22996d
3836988
2edf2fb
 
c22996d
2edf2fb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

# Start Qdrant in the background
echo "Starting Qdrant server..."
/qdrant/qdrant  &

# Wait for Qdrant to be ready
# echo "Waiting for Qdrant to be ready..."
# until curl -s http://localhost:6333/health | grep '"status":"ok"'; do
#   sleep 1
# done
echo "Qdrant is ready!"

# chmod +x /root/.local/bin/uv

# Start Chainlit application using Uvicorn
echo "Starting Chainlit application..."
uv run chainlit run app.py --host 0.0.0.0 --port 7860