sagemaker-studio-image-build-cli
sagemaker-studio-image-build-cli copied to clipboard
[Enchancement] Add `--exclude` option to reduce amount of files zipped and sent from local machine
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