jeffsi-meet/deploy/meeting-intelligence/api/Dockerfile

33 lines
764 B
Docker

# Meeting Intelligence API
# Provides REST API for meeting transcripts, summaries, and search
FROM python:3.11-slim
# Install dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
curl \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Install Python dependencies
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# Copy application code
COPY app/ ./app/
# Create directories
RUN mkdir -p /recordings /logs
# Environment variables
ENV PYTHONUNBUFFERED=1
# Health check
HEALTHCHECK --interval=30s --timeout=10s --start-period=30s --retries=3 \
CMD curl -f http://localhost:8000/health || exit 1
# Run the service
EXPOSE 8000
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]