diff --git a/docker/Dockerfile b/docker/Dockerfile index 0bb39f423..6d92a2c9e 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -314,7 +314,8 @@ RUN --mount=type=cache,target=/root/.cache/pip curl --proto '=https' --tlsv1.2 - && cd /sgl-workspace/sglang/sgl-router \ && ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \ && python3 -m pip install --force-reinstall dist/*.whl \ - && rm -rf /root/.cargo /root/.rustup target dist ~/.cargo + && rm -rf /root/.cargo /root/.rustup target dist ~/.cargo \ + && sed -i '/\.cargo\/env/d' /root/.profile /root/.bashrc 2>/dev/null || true # Add yank script