Skip to content

Commit cfbfbb4

Browse files
committed
Merge branch 'sven_fix_dockerfile_make_demo_notebooks_visible_in_jupyter' into 'main'
Modified the Dockerfile to make the demo notebooks visible in the container's working directory. See merge request nvidia/trtorch/Torch-TensorRT-Preview!8
2 parents dbeb7e3 + 6f9c8ab commit cfbfbb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docker/Dockerfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,8 @@ ENV PATH /opt/conda/lib/python3.8/site-packages/torch_tensorrt/bin:${PATH}
5252

5353
WORKDIR /workspace
5454
RUN mv /workspace/torch_tensorrt /opt/pytorch/torch_tensorrt
55+
# Make the notebooks visible to Jupyter in the current WORKDIR
56+
RUN mkdir torch_tensorrt
57+
RUN ln -s /opt/pytorch/torch_tensorrt/notebooks /workspace/torch_tensorrt/notebooks
5558

5659
CMD /bin/bash

0 commit comments

Comments
 (0)