Skip to content

Commit

Permalink
♻️ use gen-protos in release stage
Browse files Browse the repository at this point in the history
Signed-off-by: Prashant Gupta <[email protected]>
  • Loading branch information
prashantgupta24 committed Apr 22, 2024
1 parent 9bc9683 commit 4e832d2
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Please update any changes made here to
# docs/source/dev/dockerfile-ubi/dockerfile-ubi.rst

## Global Args #################################################################
ARG BASE_UBI_IMAGE_TAG=9.3-1612
ARG PYTHON_VERSION=3.11
Expand Down Expand Up @@ -262,8 +265,6 @@ WORKDIR /vllm-workspace
RUN --mount=type=bind,from=build,src=/workspace/dist,target=/vllm-workspace/dist \
--mount=type=cache,target=/root/.cache/pip \
pip install dist/*.whl --verbose

COPY --from=gen-protos --link /workspace/vllm/entrypoints/grpc/pb vllm/entrypoints/grpc/pb

## Test ########################################################################
FROM vllm AS test
Expand All @@ -285,6 +286,8 @@ WORKDIR /workspace
COPY --from=vllm --link /opt/vllm /opt/vllm
ENV PATH=/opt/vllm/bin/:$PATH

COPY --from=gen-protos --link /workspace/vllm/entrypoints/grpc/pb vllm/entrypoints/grpc/pb

RUN --mount=type=cache,target=/root/.cache/pip \
--mount=type=bind,source=requirements-common.txt,target=requirements-common.txt \
--mount=type=bind,source=requirements-cuda.txt,target=requirements-cuda.txt \
Expand Down

0 comments on commit 4e832d2

Please sign in to comment.