FROM python:3-slim RUN apt-get update && \ apt-get install -y --no-install-recommends \ pandoc \ texlive-xetex \ texlive-latex-base \ texlive-latex-base \ texlive-fonts-recommended \ texlive-latex-extra WORKDIR /app COPY ./requirements.txt /app/requirements.txt RUN pip install -r requirements.txt