Skip to content

Commit c3c8427

Browse files
authored
fix: calculate bentofile path against cwd if given explicitly (#5123)
* fix: calculate bentofile path against cwd if given explicitly Signed-off-by: Frost Ming <[email protected]>
1 parent 430328a commit c3c8427

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bentoml/bentos.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def build_bentofile(
402402
"""
403403
if bentofile:
404404
try:
405-
bentofile = resolve_user_filepath(bentofile, build_ctx)
405+
bentofile = resolve_user_filepath(bentofile, None)
406406
except FileNotFoundError:
407407
raise InvalidArgument(f'bentofile "{bentofile}" not found')
408408
else:

0 commit comments

Comments
 (0)