luojunhui 2 days ago
parent
commit
e0d9da3751
1 changed files with 7 additions and 0 deletions
  1. 7 0
      Dockerfile

+ 7 - 0
Dockerfile

@@ -1,4 +1,11 @@
 FROM python:3.11-slim
 
+# 安装构建工具
+RUN apt-get update && apt-get install -y \
+    git build-essential cmake ninja-build wget curl && \
+    rm -rf /var/lib/apt/lists/*
+
+# 安装 vllm
 RUN pip install --no-cache-dir vllm -i https://pypi.tuna.tsinghua.edu.cn/simple
 
+