File tree Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Expand file tree Collapse file tree 2 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -30,9 +30,16 @@ RUN pip install --no-cache-dir \
3030 torch-geometric \
3131 -f https://data.pyg.org/whl/torch-2.7.0+cpu.html
3232
33-
3433COPY ./requirements.txt /tmp/
3534RUN pip install --no-cache-dir -r /tmp/requirements.txt
3635
36+ # Enable Jupyter widget support
37+ RUN pip install --no-cache-dir ipywidgets
38+
39+ # For JupyterLab (inside the container), install the widget manager
40+ RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager \
41+ --no-build && \
42+ jupyter lab build
43+
3744EXPOSE 8888
3845CMD ["start-notebook.sh" ]
Original file line number Diff line number Diff line change @@ -28,5 +28,15 @@ RUN pip install --no-cache-dir \
2828COPY ./requirements.txt /tmp/
2929RUN pip install --no-cache-dir -r /tmp/requirements.txt
3030
31+ # Enable Jupyter widget support
32+ RUN pip install --no-cache-dir ipywidgets
33+
34+ # For JupyterLab (inside the container), install the widget manager
35+ RUN jupyter labextension install @jupyter-widgets/jupyterlab-manager \
36+ --no-build && \
37+ jupyter lab build && \
38+ jupyter labextension enable @jupyter-widgets/jupyterlab-manager && \
39+ jupyter labextension install @jupyter-widgets/jupyterlab-manager --no-build
40+
3141EXPOSE 8888
3242CMD ["start-notebook.sh"]
You can’t perform that action at this time.
0 commit comments