Skip to content

Commit

Permalink
Dockerfile.ubi: use vllm-tgis-adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed May 31, 2024
1 parent 9fbda74 commit 6271c04
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Dockerfile.ubi
Original file line number Diff line number Diff line change
Expand Up @@ -211,3 +211,15 @@ COPY LICENSE /licenses/vllm.md

USER 2000
ENTRYPOINT ["python3", "-m", "vllm.entrypoints.openai.api_server"]


FROM vllm-openai as vllm-grpc-adapter

USER root

RUN --mount=type=cache,target=/root/.cache/pip \
pip install vllm-tgis-adapter

ENV GRPC_PORT=8033
USER 2000
ENTRYPOINT ["python3", "-m", "vllm_tgis_adapter"]

0 comments on commit 6271c04

Please sign in to comment.