FROM python:3.12-slim WORKDIR /app RUN apt-get update && apt-get install -y --no-install-recommends fonts-dejavu-core && rm -rf /var/lib/apt/lists/* RUN pip install --no-cache-dir fastapi uvicorn pillow httpx COPY app.py . CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8090"]