FROM python:3.11-slim

WORKDIR /app

COPY pyproject.toml .
COPY libs/ libs/
COPY apps/ apps/
COPY configs/ configs/
COPY alembic.ini .

RUN pip install --no-cache-dir -e .

ENV APP_ENV=prod
ENV LOG_LEVEL=INFO

CMD ["python", "-m", "apps.pipeline.filing_poller.main"]
