Unverified Commit fcddc352 authored by Dillon Cullinan's avatar Dillon Cullinan Committed by GitHub
Browse files

fix(DYN-1644): Add launch screen to sglang runtime (#5173)


Signed-off-by: default avatarDillon Cullinan <dcullinan@nvidia.com>
parent 4cfd603c
...@@ -516,10 +516,19 @@ COPY --chmod=775 --chown=dynamo:0 recipes/ /workspace/recipes/ ...@@ -516,10 +516,19 @@ COPY --chmod=775 --chown=dynamo:0 recipes/ /workspace/recipes/
# Enable forceful shutdown of inflight requests # Enable forceful shutdown of inflight requests
ENV SGLANG_FORCE_SHUTDOWN=1 ENV SGLANG_FORCE_SHUTDOWN=1
# Setup launch banner in common directory accessible to all users
RUN --mount=type=bind,source=./container/launch_message/runtime.txt,target=/opt/dynamo/launch_message.txt \
sed '/^#\s/d' /opt/dynamo/launch_message.txt > /opt/dynamo/.launch_screen
# Our scripting assumes /workspace is where dynamo is located # Our scripting assumes /workspace is where dynamo is located
# In order to maintain the ability to have sglang and dynamo # In order to maintain the ability to have sglang and dynamo
# in the same workspace, symlink /workspace to /sgl-workspace/dynamo # in the same workspace, symlink /workspace to /sgl-workspace/dynamo
USER root USER root
# Fix directory permissions: COPY --chmod only affects contents, not the directory itself
RUN chmod 755 /opt/dynamo/.launch_screen && \
echo 'cat /opt/dynamo/.launch_screen' >> /etc/bash.bashrc
RUN ln -s /workspace /sgl-workspace/dynamo RUN ln -s /workspace /sgl-workspace/dynamo
USER dynamo USER dynamo
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment