FROM python:3.11 WORKDIR /app RUN apt-get update && apt-get install -y git libsndfile1 ffmpeg COPY requirements.txt . RUN pip install -r requirements.txt RUN pip install uvicorn[standard] COPY api.py . EXPOSE 7860 CMD ["python", "-m", "uvicorn", "api:app", "--host", "0.0.0.0", "--port", "7860"]