Skip to content

Commit 0829b6f

Browse files
Apply suggestions from code review
Co-authored-by: Alvaro Bartolome <36760800+alvarobartt@users.noreply.github.com>
1 parent 533d853 commit 0829b6f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Dockerfile-neuron

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,15 +174,14 @@ RUN pip install --no-cache-dir -U \
174174
peft==${PEFT_VERSION} \
175175
&& rm -rf ~/.cache/pip/*
176176

177-
178177
FROM neuron AS grpc
179178

180179
COPY --from=grpc-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
181180

182181
ENTRYPOINT ["text-embeddings-router"]
183182
CMD ["--json-output"]
184183

185-
FROM neuron
184+
FROM neuron AS http
186185

187186
COPY --from=http-builder /usr/src/target/release/text-embeddings-router /usr/local/bin/text-embeddings-router
188187

0 commit comments

Comments
 (0)