diff --git a/Dockerfile b/Dockerfile index 4d0116c1f..5ff3cd388 100644 --- a/Dockerfile +++ b/Dockerfile @@ -165,6 +165,11 @@ RUN python3 -m pip install --no-cache-dir --no-deps /tmp/sgl_kernel_wheels/sgl_k WORKDIR /opt RUN pip download --only-binary=:all: --no-deps vllm==0.9.1 -d /tmp/vllm_wheels +# —— 在 WORKDIR /sgl/sglang/python 之前插入 —— +RUN python3 -m pip install --no-cache-dir -i https://pypi.org/simple --timeout 600 \ + "aiohttp>=3.9" "multidict>=6.0" "yarl>=1.9" "frozenlist>=1.4" \ + "aiosignal>=1.3" "async-timeout>=4.0" "attrs>=23.0" + # ── 编译你本地 sglang 源码并打 wheel ─────────────────────────────────────── WORKDIR /sgl/sglang/python RUN python3 -m pip install --no-build-isolation -c /tmp/local_constraints_build.txt ".[srt,openai]" && \