PageIndex-Chat / entrypoint.sh
JabbarTelkom's picture
Modify entrypoint.sh
34698c3
raw
history blame contribute delete
328 Bytes
#!/bin/bash
# Start the API server in the background
echo "Starting API server..."
/app/.venv/bin/uvicorn core.main:app --host 0.0.0.0 --port 8000 &
# Wait a bit for the API server to start
sleep 5
# Start the Gradio interface
echo "Starting Gradio interface..."
uv run python gradio_app.py
# Keep the container running
wait