[CLI] simplify docker run (#159)

* bake run.yaml inside docker, simplify run

* add docker template examples

* delete generated Dockerfile

* unique deps

* clean up debug

* default entrypoint

* address comments, update output msg

* update msg

* build output msg

* configure msg

* unique special_deps

* remove quotes in configure
This commit is contained in:
Xi Yan 2024-09-30 15:04:04 -07:00 committed by GitHub
parent 8db49de961
commit d28c3dfe0f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 172 additions and 13 deletions

View file

@ -73,6 +73,8 @@ def build_image(build_config: BuildConfig, build_file_path: Path):
special_deps.append(package)
else:
deps.append(package)
deps = list(set(deps))
special_deps = list(set(special_deps))
if build_config.image_type == ImageType.docker.value:
script = pkg_resources.resource_filename(