FROM python:3.11 as base WORKDIR /app/ RUN apt-get update && apt-get install -y texlive RUN apt-get update && apt-get install -y texlive-latex-extra RUN apt-get update && apt-get install -y dvipng COPY requirements.txt requirements.txt RUN pip --no-cache-dir install -r requirements.txt CMD ["python3", "-m", "nightly"] COPY nightly nightly