revert: restore original Dockerfile that was working
This commit is contained in:
1 parent
7b47faac50
commit
a0047a012d
1 file changed
+3
-7
+3
-7
@@ -1,15 +1,11 @@
|
|||||||
FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime
|
FROM pytorch/pytorch:2.1.0-cuda12.1-cudnn8-runtime
|
||||||
|
|
||||||
# 安装必要工具
|
# 基础工具
|
||||||
RUN apt-get update && apt-get install -y git curl wget nano openssh-server \
|
RUN apt-get update && apt-get install -y git curl wget nano && rm -rf /var/lib/apt/lists/*
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
|
||||||
|
|
||||||
# pip依赖
|
# tqdm用于进度条
|
||||||
RUN pip install --no-cache-dir tqdm numpy requests
|
RUN pip install --no-cache-dir tqdm numpy requests
|
||||||
|
|
||||||
# 创建 vscode-server 需要的目录
|
|
||||||
RUN mkdir -p /root/.vscode-server /root/.vscode-server/data/Machine
|
|
||||||
|
|
||||||
# 设置工作目录
|
# 设置工作目录
|
||||||
WORKDIR /workspace
|
WORKDIR /workspace
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user