File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ COPY Cargo.lock ./
53
53
54
54
FROM builder as http-builder
55
55
56
- RUN cargo build --release --bin text-embeddings-router -F candle -F mkl-dynamic --no-default-features && sccache -s
56
+ RUN cargo build --release --bin text-embeddings-router -F candle -F mkl-dynamic -F http - -no-default-features && sccache -s
57
57
58
58
FROM builder as grpc-builder
59
59
@@ -106,4 +106,4 @@ FROM base
106
106
COPY --from=http-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
107
107
108
108
ENTRYPOINT ["text-embeddings-router" ]
109
- CMD ["--json-output" ]
109
+ CMD ["--json-output" ]
Original file line number Diff line number Diff line change @@ -74,9 +74,9 @@ FROM builder as http-builder
74
74
75
75
RUN if [ ${CUDA_COMPUTE_CAP} -ge 75 -a ${CUDA_COMPUTE_CAP} -lt 80 ]; \
76
76
then \
77
- cargo build --release --bin text-embeddings-router -F candle-cuda-turing -F static-linking --no-default-features && sccache -s; \
77
+ cargo build --release --bin text-embeddings-router -F candle-cuda-turing -F static-linking -F http - -no-default-features && sccache -s; \
78
78
else \
79
- cargo build --release --bin text-embeddings-router -F candle-cuda -F static-linking --no-default-features && sccache -s; \
79
+ cargo build --release --bin text-embeddings-router -F candle-cuda -F static-linking -F http - -no-default-features && sccache -s; \
80
80
fi;
81
81
82
82
FROM builder as grpc-builder
@@ -120,4 +120,4 @@ FROM base
120
120
COPY --from=http-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
121
121
122
122
ENTRYPOINT ["text-embeddings-router"]
123
- CMD ["--json-output"]
123
+ CMD ["--json-output"]
You can’t perform that action at this time.
0 commit comments