aws-samples / aws-samples/sagemaker-studio-image-build-cli
[Question] sm-docker zips and uploads the current dir, not the target dir?
Open
enhancement
- Dominant language
- Python
- Stars
- 59
- Forks
- 26
- PR merge metrics
- No merged PRs in 30d
Description
From my investigations into #2, I saw that sm-docker is zipping and uploading the current folder, not the target folder, when a target is given. E.g:
```sh
sm-docker build ./docker
# Uploads all of ./ (not just ./docker) to S3
```
Is this expected and deliberate for some reason? If you have lots of other stuff in your folder it can make for a significantly slower wait than the (also working) `cd ./docker && sm-docker build .`
Contributor guide
Assessment
This issue has not been assessed yet.