FROM python:3.11-slim

WORKDIR /app

RUN pip install --no-cache-dir fastapi uvicorn httpx

COPY health_aggregator.py .

ENV PORT=8099

EXPOSE ${PORT}

CMD ["sh", "-c", "uvicorn health_aggregator:app --host 0.0.0.0 --port ${PORT}"]
