aws-samples / aws-samples/sagemaker-studio-image-build-cli

[Question] sm-docker zips and uploads the current dir, not the target dir?

Open
#3 3 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.