sagemaker-studio-image-build-cli icon indicating copy to clipboard operation
sagemaker-studio-image-build-cli copied to clipboard

[Enchancement] Add `--exclude` option to reduce amount of files zipped and sent from local machine

Open ivan-khvostishkov opened this issue 2 years ago • 0 comments

sm-docker zips the whole working directory and in case Python venv files are placed inside this dir, it takes ages to compress and upload gigabytes of data.

It should be the way to exclude local dirs:

sm-docker build . --exclude ./venv --exclude ./build

ivan-khvostishkov avatar Jul 19 '23 08:07 ivan-khvostishkov