Python FastMCP server wrapping Deepgram API for audio transcription and text-to-speech. Supports 125+ multilingual voices, large file chunking via FFmpeg, formatted markdown output with speaker diarization, and Docker deployment on port 8009. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
461 B
Docker
22 lines
461 B
Docker
FROM python:3.11-slim
|
|
|
|
RUN apt-get update && \
|
|
apt-get install -y --no-install-recommends ffmpeg curl && \
|
|
rm -rf /var/lib/apt/lists/*
|
|
|
|
WORKDIR /app
|
|
|
|
COPY requirements.txt .
|
|
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
COPY src/ src/
|
|
|
|
ENV PYTHONPATH=/app/src
|
|
|
|
EXPOSE 8009
|
|
|
|
HEALTHCHECK --interval=30s --timeout=5s --start-period=10s --retries=3 \
|
|
CMD curl -f http://localhost:8009/health || exit 1
|
|
|
|
CMD ["python", "-m", "deepgram_mcp.server"]
|