File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ ENV HUGGINGFACE_HUB_CACHE=/data \
6262RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6363 ca-certificates \
6464 libssl-dev \
65+ curl \
6566 && rm -rf /var/lib/apt/lists/*
6667
6768
Original file line number Diff line number Diff line change @@ -113,6 +113,12 @@ ENV HUGGINGFACE_HUB_CACHE=/data \
113113 PORT=80 \
114114 USE_FLASH_ATTENTION=$DEFAULT_USE_FLASH_ATTENTION
115115
116+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
117+ ca-certificates \
118+ libssl-dev \
119+ curl \
120+ && rm -rf /var/lib/apt/lists/*
121+
116122FROM base AS grpc
117123
118124COPY --from=grpc-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
Original file line number Diff line number Diff line change @@ -118,6 +118,12 @@ ENV HUGGINGFACE_HUB_CACHE=/data \
118118 PORT=80 \
119119 USE_FLASH_ATTENTION=$DEFAULT_USE_FLASH_ATTENTION
120120
121+ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
122+ ca-certificates \
123+ libssl-dev \
124+ curl \
125+ && rm -rf /var/lib/apt/lists/*
126+
121127COPY --from=builder /usr/src/target/release/text-embeddings-router-75 /usr/local/bin/text-embeddings-router-75
122128COPY --from=builder /usr/src/target/release/text-embeddings-router-80 /usr/local/bin/text-embeddings-router-80
123129COPY --from=builder /usr/src/target/release/text-embeddings-router-90 /usr/local/bin/text-embeddings-router-90
You can’t perform that action at this time.
0 commit comments