mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-14 20:48:00 +00:00
Copy shared library after build ORT Server (#1347)
This commit is contained in:
parent
2714576d0a
commit
9f9ff19bdc
1 changed files with 1 additions and 0 deletions
|
|
@ -31,6 +31,7 @@ FROM minimal AS final
|
|||
WORKDIR /onnxruntime/server/
|
||||
ENV MODEL_ABSOLUTE_PATH /onnxruntime/model/model.onnx
|
||||
COPY --from=build /onnxruntime/build/Release/onnxruntime_server /onnxruntime/server/
|
||||
COPY --from=build /onnxruntime/build/Release/libonnxruntime.so.* /lib/
|
||||
RUN apt-get update \
|
||||
&& apt-get install -y libgomp1
|
||||
ENTRYPOINT /onnxruntime/server/onnxruntime_server --model_path $MODEL_ABSOLUTE_PATH
|
||||
|
|
|
|||
Loading…
Reference in a new issue