This commit is contained in:
hailin 2025-07-02 14:57:24 +08:00
parent 75f8fee8e9
commit ed5910095b
1 changed files with 3 additions and 0 deletions

View File

@ -91,5 +91,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
COPY --from=builder-extras /wheels /tmp/wheels
RUN python3 -m pip install --no-cache-dir /tmp/wheels/* && rm -rf /tmp/wheels
# 安装运行时漏掉的依赖
RUN python3 -m pip install --no-cache-dir pydantic
# 仅做 CI / CPU 自检 —— 输出帮助后退出 0
CMD ["python3", "-m", "sglang.launch_server", "--help"]