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 \
30
30
torch-geometric \
31
31
-f https://data.pyg.org/whl/torch-2.7.0+cpu.html
32
32
33
-
34
33
COPY ./requirements.txt /tmp/
35
34
RUN pip install --no-cache-dir -r /tmp/requirements.txt
36
35
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
+
37
44
EXPOSE 8888
38
45
CMD ["start-notebook.sh" ]
Original file line number Diff line number Diff line change @@ -28,5 +28,15 @@ RUN pip install --no-cache-dir \
28
28
COPY ./requirements.txt /tmp/
29
29
RUN pip install --no-cache-dir -r /tmp/requirements.txt
30
30
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
+
31
41
EXPOSE 8888
32
42
CMD ["start-notebook.sh"]
You can’t perform that action at this time.
0 commit comments