| FROM python:3.13 | |
| RUN apt-get update && apt-get install -y ffmpeg libsm6 libxext6 && rm -rf /var/lib/apt/lists/* | |
| RUN which ffmpeg | |
| RUN ffmpeg -version | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir -r /code/requirements.txt | |
| COPY . . | |
| RUN chmod -R a+w /code | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |