FROM python:3.12-slim RUN apt-get update \ && apt-get install -y --no-install-recommends libreoffice libreoffice-writer fonts-noto-cjk fonts-dejavu fontconfig \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements.txt /app/requirements.txt RUN pip install --no-cache-dir -r /app/requirements.txt COPY converter.py /app/converter.py COPY demo /app/demo ENTRYPOINT ["python", "/app/converter.py"]