diff --git a/Dockerfile b/Dockerfile index 363751ad1534890c5d1a5bebdcf1c4491df97f98..3fe19fa82262a2b72a8690843190e0d0889f8794 100644 --- a/Dockerfile +++ b/Dockerfile @@ -17,6 +17,12 @@ RUN pip install jupyterlab-gitlab==3.0.0 # Install jupyterlab-dash RUN jupyter labextension install jupyterlab-dash +# Set environment variable for node memory limit +ENV NODE_OPTIONS="--max-old-space-size=4096" + +# Build JupyterLab +RUN jupyter lab build + # Copy and install additional Python packages COPY requirements.txt requirements.txt RUN pip install --no-cache-dir -r requirements.txt