This commit is contained in:
parent
f25868ef34
commit
687d76494c
|
|
@ -103,8 +103,11 @@ RUN python3 -m pip install --no-cache-dir /tmp/wheels/* && rm -rf /tmp/wheels
|
||||||
# 安装运行时漏掉的依赖
|
# 安装运行时漏掉的依赖
|
||||||
RUN python3 -m pip install --no-cache-dir pydantic orjson psutil pyzmq pynvml transformers==4.48.3 uvicorn fastapi IPython aiohttp setproctitle uvloop sentencepiece triton
|
RUN python3 -m pip install --no-cache-dir pydantic orjson psutil pyzmq pynvml transformers==4.48.3 uvicorn fastapi IPython aiohttp setproctitle uvloop sentencepiece triton
|
||||||
|
|
||||||
RUN apt-get install -y tini
|
# ✅ 添加 Tini(推荐)
|
||||||
ENTRYPOINT ["/usr/bin/tini", "--"]
|
ENV TINI_VERSION=v0.19.0
|
||||||
|
ADD https://github.com/krallin/tini/releases/download/${TINI_VERSION}/tini /tini
|
||||||
|
RUN chmod +x /tini
|
||||||
|
ENTRYPOINT ["/tini", "--"]
|
||||||
|
|
||||||
# 仅做 CI / CPU 自检 —— 输出帮助后退出 0
|
# 仅做 CI / CPU 自检 —— 输出帮助后退出 0
|
||||||
CMD ["python3", "-m", "sglang.launch_server", "--help"]
|
CMD ["python3", "-m", "sglang.launch_server", "--help"]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue