FROM python:3.10-slim # Install LibreOffice and dependencies RUN apt-get update && \ apt-get install -y --no-install-recommends \ libreoffice \ poppler-utils \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY . . RUN pip install -r requirements.txt CMD ["python", "app.py"]