| FROM python:3.11-slim-bookworm | |
| WORKDIR /app | |
| ENV HF_HUB_DISABLE_XET=1 | |
| # System dependencies | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| build-essential \ | |
| ffmpeg \ | |
| libsndfile1 \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Python dependencies | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # Copy source | |
| COPY . . | |
| RUN pip install -e . --no-deps | |
| EXPOSE 8000 | |
| CMD ["python", "-m", "maris_core"] | |