mirror of
https://github.com/openai/whisper.git
synced 2025-11-24 06:26:03 +00:00
12 lines
291 B
TOML
12 lines
291 B
TOML
# Backend Nixpacks configuration
|
|
# Ensures ffmpeg is available for Whisper audio processing
|
|
|
|
[phases.setup]
|
|
nixPkgs = ["ffmpeg"]
|
|
|
|
[phases.install]
|
|
cmds = ["pip install -r requirements.txt"]
|
|
|
|
[start]
|
|
cmd = "gunicorn --workers 2 --worker-class sync --timeout 120 --bind 0.0.0.0:$PORT app:app"
|