Initial commit: Productionized Swarm with Docker support
This commit is contained in:
12
swarm-control/persona/Dockerfile
Normal file
12
swarm-control/persona/Dockerfile
Normal 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
|
||||
Reference in New Issue
Block a user