Skip to content

Commit 38b19d3

Browse files
updated dockerfile to run with jupyterlab 4 build system (#747)
1 parent c60d78c commit 38b19d3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ ENV pipargs=""
1111
ENV WORKING_DIR="/root"
1212
ENV NOTEBOOK_DIR="${WORKING_DIR}/notebooks"
1313
ENV EXAMPLE_NOTEBOOK_DIR="${NOTEBOOK_DIR}/Example Notebooks"
14-
ENV NODE_VERSION=14
14+
ENV NODE_VERSION=20.18.3
1515
ENV PYTHON_VERSION=3.10
1616
ENV GRAPH_NOTEBOOK_AUTH_MODE="DEFAULT"
1717
ENV GRAPH_NOTEBOOK_HOST="neptune.cluster-XXXXXXXXXXXX.us-east-1.neptune.amazonaws.com"
@@ -57,9 +57,10 @@ RUN mkdir -p "${WORKING_DIR}" && \
5757
pip3 install --upgrade pip setuptools wheel && \
5858
pip3 install twine==3.7.1 && \
5959
pip3 install -r requirements.txt && \
60-
pip3 install "jupyterlab>=3,<4" && \
60+
pip3 install "jupyterlab>=4.3.5,<5" && \
61+
pip3 install --upgrade build hatch hatch-jupyter-builder && \
6162
# Build the package
62-
python3 setup.py sdist bdist_wheel && \
63+
python3 -m build . && \
6364
# install the copied repo
6465
pip3 install . && \
6566
# copy premade starter notebooks

0 commit comments

Comments
 (0)