Skip to content

Commit 211dd20

Browse files
committed
Install common dependencies as part of requirements.txt
1 parent 0a690ea commit 211dd20

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

container/Dockerfile.vllm

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,12 @@ RUN apt-get update && \
505505

506506
# Install the wheels and symlink executables to /usr/local/bin so dynamo components can use them
507507
# Dynamo components currently do not have the VIRTUAL_ENV in their PATH, so we need to symlink the executables
508-
#Copy NIXL and Dynmao wheels into wheelhouse
508+
#Copy NIXL and Dynamo wheels into wheelhouse. Install all other dependencies from requirements.txt
509509
COPY --from=wheel_builder /workspace/dist/*.whl wheelhouse/
510-
RUN uv pip install ai-dynamo[vllm] --find-links wheelhouse && \
510+
RUN --mount=type=bind,source=./container/deps/requirements.txt,target=/tmp/requirements.txt \
511+
uv pip install ai-dynamo[vllm] --find-links wheelhouse && \
511512
uv pip install nixl --find-links wheelhouse && \
513+
uv pip install --requirement /tmp/requirements.txt && \
512514
ln -sf $VIRTUAL_ENV/bin/* /usr/local/bin/ && \
513515
rm -r wheelhouse
514516

0 commit comments

Comments
 (0)