Spaces:
Runtime error
Runtime error
| FROM python:3.11-slim | |
| WORKDIR /app | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends ffmpeg \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY ml/requirements.txt ./requirements.txt | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY ml/ ./ml/ | |
| RUN mkdir -p /app/models | |
| WORKDIR /app/ml | |
| EXPOSE 8000 | |
| CMD ["uvicorn", "serve:app", "--host", "0.0.0.0", "--port", "8000"] | |