Skip to content

Commit 14ebe9b

Browse files
authored
Update Dockerfile-web
1 parent 503d326 commit 14ebe9b

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Dockerfile-web

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,12 @@ RUN pip cache purge
7575
# 拷贝 C++ 运行时库
7676
RUN cp /usr/lib/x86_64-linux-gnu/libstdc++.so.6 /opt/conda/lib/
7777

78+
# 安装部分个人使用的工具
79+
RUN apt install -y net-tools tree vim curl git git-lfs neofetch
80+
# apt修改为国内源
81+
RUN rm -rf /etc/apt/sources.list && wget https://github.com/IAMJOYBO/ktransformers/raw/refs/heads/main/sources-20.04.list -O /etc/apt/sources.list
82+
RUN pip config set global.index-url https://mirrors.tuna.tsinghua.edu.cn/pypi/web/simple
83+
7884
# 预下载的配置文件
7985
RUN pip install huggingface_hub modelscope
8086
RUN huggingface-cli download deepseek-ai/DeepSeek-R1 --exclude *.safetensors --local-dir /app/model/DeepSeek-R1

0 commit comments

Comments
 (0)