File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -214,10 +214,10 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
214214ENV CARGO_BUILD_JOBS=4
215215
216216# Build and install sgl-model-gateway
217- RUN python3 -m pip install --no-cache-dir setuptools-rust \
217+ RUN python3 -m pip install --no-cache-dir maturin \
218218 && cd /sgl-workspace/sglang/sgl-model-gateway/bindings/python \
219- && /bin/bash -lc ' ulimit -n 8192 && cargo build --release' \
220- && python3 -m pip install --no-cache-dir . \
219+ && ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
220+ && python3 -m pip install --force-reinstall dist/*.whl \
221221 && rm -rf /root/.cache
222222
223223# -----------------------
Original file line number Diff line number Diff line change @@ -243,10 +243,10 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y \
243243ENV CARGO_BUILD_JOBS=4
244244
245245# Build and install sgl-model-gateway
246- RUN python3 -m pip install --no-cache-dir setuptools-rust \
246+ RUN python3 -m pip install --no-cache-dir maturin \
247247 && cd /sgl-workspace/sglang/sgl-model-gateway/bindings/python \
248- && /bin/bash -lc ' ulimit -n 8192 && cargo build --release' \
249- && python3 -m pip install --no-cache-dir . \
248+ && ulimit -n 65536 && maturin build --release --features vendored-openssl --out dist \
249+ && python3 -m pip install --force-reinstall dist/*.whl \
250250 && rm -rf /root/.cache
251251
252252# -----------------------
You can’t perform that action at this time.
0 commit comments