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 . . | |
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |