Files
microdao-daarion/services/swapper-service/Dockerfile
Apple 5290287058 feat: implement TTS, Document processing, and Memory Service /facts API
- TTS: xtts-v2 integration with voice cloning support
- Document: docling integration for PDF/DOCX/PPTX processing
- Memory Service: added /facts/upsert, /facts/{key}, /facts endpoints
- Added required dependencies (TTS, docling)
2026-01-17 08:16:37 -08:00

31 lines
748 B
Docker

FROM nvidia/cuda:12.1.0-runtime-ubuntu22.04
# Install Python and system deps (including ffmpeg for audio processing)
RUN apt-get update && apt-get install -y --no-install-recommends \
python3.11 \
python3-pip \
wget \
curl \
git \
ffmpeg \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip3 install --no-cache-dir -r requirements.txt
# Copy application
COPY app/ ./app/
COPY config/ ./config/
EXPOSE 8890
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
CMD wget -qO- http://localhost:8890/health || exit 1
CMD ["python3", "-m", "uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8890"]