SuperLiveTVTEST / entrypoint.sh
LoremPizza's picture
Update entrypoint.sh
916e0c0 verified
raw
history blame contribute delete
421 Bytes
#!/bin/sh
# Log file for debugging
LOG_FILE="/app/warp-log.txt"
# Start the Cloudflare Warp daemon in the background
{
echo "Starting Cloudflare Warp..."
warp-cli set-mode proxy
warp-cli set-proxy-port 40000
warp-cli connect
sleep 5
echo "Cloudflare Warp status:"
warp-cli status
} > $LOG_FILE 2>&1 &
# Run your FastAPI application
echo "Starting FastAPI application..."
exec python run.py