This commit is contained in:
Logan Cusano
2025-12-28 02:37:50 -05:00
commit 26e90f4584
14 changed files with 893 additions and 0 deletions

15
docker-entrypoint.sh Normal file
View File

@@ -0,0 +1,15 @@
#!/bin/bash
# --- Start PulseAudio Daemon ---
# The -D flag starts it as a daemon.
# The --exit-idle-time=-1 prevents it from automatically shutting down.
echo "Starting PulseAudio daemon..."
pulseaudio -D --exit-idle-time=-1 --system
# Wait a moment for PulseAudio to initialize
sleep 1
# --- Execute the main command (uvicorn) ---
echo "Starting FastAPI application..."
# The main application arguments are passed directly to this script
exec "$@"