From f52c9ca8e321c0add4d0cad9bcf1ba8bb5a39609 Mon Sep 17 00:00:00 2001 From: fada Date: Mon, 16 Jun 2025 15:48:07 +0800 Subject: [PATCH] feat: update Dockerfile to set custom pip index URL and install Jupyter Lab with libraries --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 8b04ae0..a9b047f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -2,7 +2,8 @@ FROM pytorch/pytorch:latest # 安装 Jupyter Lab 和常用库 -RUN pip install --upgrade pip && \ +RUN pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple && \ + pip install --upgrade pip && \ pip install jupyterlab matplotlib pandas seaborn # 设置默认工作目录