File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -296,9 +296,7 @@ def dockerfile_for_linux(output_file):
296
296
if FLAGS .ort_tensorrt :
297
297
df += """
298
298
# TensorRT specific headers and libraries
299
- RUN cp /workspace/onnxruntime/include/onnxruntime/core/providers/tensorrt/tensorrt_provider_factory.h \
300
- /opt/onnxruntime/include && \
301
- cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
299
+ RUN cp /workspace/build/${ONNXRUNTIME_BUILD_CONFIG}/libonnxruntime_providers_tensorrt.so \
302
300
/opt/onnxruntime/lib
303
301
"""
304
302
@@ -467,9 +465,6 @@ def dockerfile_for_windows(output_file):
467
465
if FLAGS .ort_tensorrt :
468
466
df += """
469
467
# TensorRT specific headers and libraries
470
- WORKDIR /opt/onnxruntime/include
471
- RUN copy \\ workspace\\ onnxruntime\\ include\\ onnxruntime\\ core\\ providers\\ tensorrt\\ tensorrt_provider_factory.h \\ opt\\ onnxruntime\\ include
472
-
473
468
WORKDIR /opt/onnxruntime/lib
474
469
RUN copy \\ workspace\\ build\\ Release\\ Release\\ onnxruntime_providers_tensorrt.dll \\ opt\\ onnxruntime\\ bin
475
470
You can’t perform that action at this time.
0 commit comments