RcmEmailAutomation / Dockerfile
cmoss3's picture
Error handling, confidence scoring, daily brief, deduplicate webhook notifications
0a367ef
Raw
History Blame Contribute Delete
462 Bytes
FROM python:3.12-slim
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential tesseract-ocr poppler-utils \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
COPY app/ ./app/
COPY alembic/ ./alembic/
COPY alembic.ini .
RUN mkdir -p /data /emails
EXPOSE 8000
ENTRYPOINT ["/entrypoint.sh"]