Initial commit: Productionized Swarm with Docker support

This commit is contained in:
damith
2026-04-16 16:46:24 +10:00
commit c2e2e52ff3
39 changed files with 331 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
FROM lmsysorg/sglang:latest
# 1. Force the upgrade of transformers without triggering pip's strict dependency resolver
RUN pip install --no-cache-dir --upgrade pip && \
pip install --no-cache-dir --upgrade --no-deps \
git+https://github.com/huggingface/transformers.git \
--break-system-packages
# 2. Inject your working bare-metal SGLang source code directly over the container's default
COPY local-sglang/python /sgl-workspace/sglang/python
WORKDIR /app