FROM python:3.10 # Install system dependencies RUN apt-get update && apt-get install -y ffmpeg # Set workdir WORKDIR /code # Copy app files COPY . . # Install Python packages RUN pip install --upgrade pip && pip install -r requirements.txt # Run API CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]