Skip to content

Commit ccee655

Browse files
authored
Update Dockerfile
1 parent dae3f8c commit ccee655

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ RUN apt-get update -qq && \
2424
xvfb \
2525
libfuse2 \
2626
libfontconfig1 \
27+
vim \
2728
tzdata && \
2829
rm -rf /var/lib/apt/lists/* && \
2930
ln -snf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
@@ -32,10 +33,10 @@ RUN apt-get update -qq && \
3233
# 升级 pip,使用默认 PyPI 源
3334
RUN pip install -qq --upgrade pip
3435

35-
# 定义 torch 版本参数
36-
ARG TORCH_VERSION
37-
# 安装 torch
38-
RUN pip install -qq --no-cache-dir torch==${TORCH_VERSION}
36+
# # 定义 torch 版本参数
37+
# ARG TORCH_VERSION
38+
# # 安装 torch
39+
# RUN pip install -qq --no-cache-dir torch==${TORCH_VERSION}
3940

4041
# 设置工作目录
4142
WORKDIR /home

0 commit comments

Comments
 (0)