diff --git a/.ide/Dockerfile b/.ide/Dockerfile index b89d6b8..de9cb1c 100644 --- a/.ide/Dockerfile +++ b/.ide/Dockerfile @@ -1,15 +1,11 @@ FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime -# 安装必要工具 -RUN apt-get update && apt-get install -y git curl wget nano openssh-server \ - && rm -rf /var/lib/apt/lists/* +# 基础工具 +RUN apt-get update && apt-get install -y git curl wget nano && rm -rf /var/lib/apt/lists/* -# pip依赖 +# tqdm用于进度条 RUN pip install --no-cache-dir tqdm numpy requests -# 创建 vscode-server 需要的目录 -RUN mkdir -p /root/.vscode-server /root/.vscode-server/data/Machine - # 设置工作目录 WORKDIR /workspace