We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ff0b9e commit 5fb7cd4Copy full SHA for 5fb7cd4
src/bentoml/_internal/bento/bento.py
@@ -338,7 +338,7 @@ def append_model(model: BentoModelInfo) -> None:
338
target_fs.joinpath(dest_dir).mkdir(parents=True, exist_ok=True)
339
src_file = ctx_path.joinpath(path)
340
dst_file = target_fs.joinpath(dest_path)
341
- shutil.copy(src_file, dst_file)
+ shutil.copy(src_file, dst_file, follow_symlinks=False)
342
if image is None:
343
# NOTE: we need to generate both Python and Conda
344
# first to make sure we can generate the Dockerfile correctly.
0 commit comments