We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6039a75 commit c9d5875Copy full SHA for c9d5875
1 file changed
ldm/Dockerfile
@@ -1,5 +1,3 @@
1
-#tag:latest
2
-
3
# 基础镜像
4
FROM pytorch/pytorch:1.12.1-cuda11.3-cudnn8-runtime
5
@@ -10,8 +8,8 @@ RUN apt-get update && apt-get install -y \
10
8
apt-get clean && \
11
9
rm -rf /var/lib/apt/lists/*
12
13
-# 安装 Python 3.8 和 pip
14
-RUN apt-get update && apt-get install -y python3.8 python3-pip && \
+# 安装 Python 3.8、pip 和 python3-venv
+RUN apt-get update && apt-get install -y python3.8 python3-pip python3-venv && \
15
python3.8 -m pip install --upgrade pip
16
17
# 创建名为 ldm 的 Python 虚拟环境
0 commit comments