nv-morpheus / Morpheus

Morpheus SDK
Apache License 2.0
309 stars 119 forks source link

[BUG]: Release container potentially includes unneeded files #1769

Open dagardner-nv opened 1 week ago

dagardner-nv commented 1 week ago

Version

24.06

Which installation method(s) does this occur on?

Docker

Describe the bug.

Because we copy files from the host's repo with:

COPY "${MORPHEUS_ROOT_HOST}/docs" "./docs"
COPY "${MORPHEUS_ROOT_HOST}/examples" "./examples"

Which could potentially include intermediate build dirs, *.so files, and intermediate files from the documentation builds

We should probably consider performing a git clone from within the container.

Minimum reproducible example

Build locally in a conda env or in a development container Build the release container

Relevant log output

Click here to see error details

 [Paste the error here, it will be hidden by default]

Full env printout

Click here to see environment details

 [Paste the results of print_env.sh here, it will be hidden by default]

Other/Misc.

No response

Code of Conduct