# Bettersight Intelligence website — lightweight backend (contact form +
# self-assess calculator email/PDF flows). Pure-Python deps only (fpdf2
# needs no system font/rendering libraries), so no extra system packages
# are needed beyond the base image.
FROM python:3.12-slim

WORKDIR /app

COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt

COPY . .

EXPOSE 5000

CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "2", "app:create_app()"]
