From b5c6f8a462898bd8b107c4655e34cd1a38b7222c Mon Sep 17 00:00:00 2001 From: suluyan Date: Thu, 16 Jul 2026 16:29:44 +0800 Subject: [PATCH] fix(docker): limit notebook deps to stable images only Keep ipywidgets, jupyter_core, nbconvert, and nbclient inside the INSTALL_MS_DEPS gate so latest and old image builds are unaffected. Co-authored-by: Cursor --- docker/Dockerfile.ubuntu | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docker/Dockerfile.ubuntu b/docker/Dockerfile.ubuntu index 2f18a3a3..bb8661bd 100644 --- a/docker/Dockerfile.ubuntu +++ b/docker/Dockerfile.ubuntu @@ -33,7 +33,8 @@ if [ "$INSTALL_MS_DEPS" = "True" ]; then \ pip install --no-cache-dir https://modelscope.oss-cn-beijing.aliyuncs.com/packages/imageio_ffmpeg-0.4.9-py3-none-any.whl --no-dependencies --force && \ pip install --no-cache-dir 'scipy' && \ pip install --no-cache-dir funtextprocessing typeguard==2.13.3 scikit-learn -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \ - pip install --no-cache-dir 'decord>=0.6.0' mpi4py paint_ldm fasttext -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \ + pip install --no-cache-dir 'decord>=0.6.0' mpi4py paint_ldm ipykernel fasttext -f https://modelscope.oss-cn-beijing.aliyuncs.com/releases/repo.html && \ + pip install --no-cache-dir ipywidgets jupyter_core nbconvert nbclient && \ pip install --no-cache-dir 'blobfile>=1.0.5' && \ pip uninstall MinDAEC -y && \ pip install https://modelscope.oss-cn-beijing.aliyuncs.com/releases/dependencies/MinDAEC-0.0.2-py3-none-any.whl && \ @@ -41,8 +42,7 @@ if [ "$INSTALL_MS_DEPS" = "True" ]; then \ else \ pip install --no-cache-dir -r /var/modelscope/framework.txt && \ pip cache purge; \ -fi && \ -pip install --no-cache-dir ipywidgets ipykernel jupyter_core nbconvert nbclient +fi ARG CUR_TIME={cur_time} RUN echo $CUR_TIME