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