luojunhui 1 月之前
父節點
當前提交
e0d9da3751
共有 1 個文件被更改,包括 7 次插入0 次删除
  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
 
+