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
 
+