File size: 450 Bytes
f440f03 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | 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"]
|