FROM ubuntu:focal ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ python3 \ python3-pip \ python3-dev \ build-essential \ pandoc \ texlive-xetex \ libsm6 \ libxext6 \ libxrender-dev \ && rm -rf /var/lib/apt/lists/* WORKDIR /app COPY requirements.txt . RUN pip3 install --no-cache-dir --upgrade pip \ && pip3 install --no-cache-dir -r requirements.txt EXPOSE 8888 CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--allow-root", "--no-browser", "--NotebookApp.token=''"]