Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
d90286c5
Commit
d90286c5
authored
Mar 17, 2025
by
Harrison Saturley-Hall
Committed by
GitHub
Mar 17, 2025
Browse files
fix: Dockerfile with duplicated command (#223)
Co-authored-by:
Anant Sharma
<
anants@nvidia.com
>
parent
4b1867c5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
container/Dockerfile.vllm
container/Dockerfile.vllm
+5
-5
No files found.
container/Dockerfile.vllm
View file @
d90286c5
...
...
@@ -342,8 +342,6 @@ FROM ${RUNTIME_IMAGE}:${RUNTIME_IMAGE_TAG} AS runtime
WORKDIR /workspace
ENV VIRTUAL_ENV=/opt/dynamo/venv
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
# Copy NIXL
COPY --from=build /usr/local/nixl /usr/local/nixl
ENV LD_LIBRARY_PATH=/usr/local/nixl/lib/x86_64-linux-gnu/:$LD_LIBRARY_PATH
...
...
@@ -351,7 +349,9 @@ ENV PYTHONPATH=/usr/local/nixl/lib/python3/dist-packages/:/opt/nixl/test/python/
# Setup the python environment
COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/
RUN RUN apt-get install python3-dev && \
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends python3-dev && \
rm -rf /var/lib/apt/lists/* && \
uv venv $VIRTUAL_ENV --python 3.12 && \
echo "source $VIRTUAL_ENV/bin/activate" >> ~/.bashrc
...
...
@@ -371,5 +371,5 @@ RUN --mount=type=bind,source=./container/launch_message.txt,target=/workspace/la
# Copy examples
COPY ./examples examples/
ENTRYPOINT [/bin/sh]
CMD []
\ No newline at end of file
ENTRYPOINT [ "/usr/bin/bash" ]
CMD []
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment