feat: Dockerfiles for pipeline, api, and cron containers

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-28 10:52:39 -05:00
parent 2cc256ed6e
commit cb7896a103
3 changed files with 47 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
FROM python:3.12-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
libsndfile1 && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY pyproject.toml .
RUN pip install --no-cache-dir torch --index-url https://download.pytorch.org/whl/cpu && \
pip install --no-cache-dir resemblyzer scipy numpy httpx pydantic-settings
COPY app/ app/
# Pre-download resemblyzer model
RUN python -c "from resemblyzer import VoiceEncoder; VoiceEncoder()"
ENV PYTHONUNBUFFERED=1
CMD ["python", "-m", "app.cron.main"]