Update README, Dockerfile, requirements, and add docker-compose for Jupyter Notebook setup

This commit is contained in:
2025-05-05 13:16:51 +02:00
parent 3adb65fa36
commit ad7b06e930
4 changed files with 108 additions and 17 deletions
+10 -11
View File
@@ -6,20 +6,19 @@ RUN apt-get update && apt-get install -y \
python3 \
python3-pip \
python3-dev \
build-essential \
pandoc \
texlive-xetex \
libsm6 \
libxext6 \
libxrender-dev \
git \
wget \
curl \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY requirements.txt /tmp/
COPY requirements.txt .
RUN pip3 install --no-cache-dir --upgrade pip \
&& pip3 install --no-cache-dir -r requirements.txt
RUN pip3 install --no-cache-dir --upgrade pip && \
pip3 install --no-cache-dir -r /tmp/requirements.txt
WORKDIR /notebooks
EXPOSE 8888
CMD ["jupyter", "lab", "--ip=0.0.0.0", "--port=8888", "--allow-root", "--no-browser", "--NotebookApp.token=''"]
CMD ["jupyter", "notebook", "--ip='0.0.0.0'", "--port=8888", "--no-browser", "--allow-root"]