FROM python:3.11-slim RUN apt-get update && apt-get install -y --no-install-recommends \ libcairo2 pango1.0-tools libpango-1.0-0 libgdk-pixbuf2.0-0 libffi-dev \ fonts-noto fonts-noto-cjk git \ && rm -rf /var/lib/apt/lists/* WORKDIR /code COPY requirements.txt . RUN pip install --no-cache-dir -U pip wheel && pip install --no-cache-dir -r requirements.txt COPY . . ENV GRADIO_SERVER_NAME=0.0.0.0 EXPOSE 7860 CMD ["python", "app.py"]