FROM python:3.11-slim WORKDIR /app COPY requirements.txt . RUN pip install uv RUN uv pip install --no-cache-dir -r requirements.txt --system RUN apt-get update && apt-get install -y libmagic1 COPY . . RUN python agent/skills/pediatry_wiki/data/wiki/build_articles.py ENV PORT=8000 CMD uvicorn main:app --host 0.0.0.0 --port $PORT