Skip to content

Commit

Permalink
[ib] fix docker env file write location (deepjavalibrary#2073)
Browse files Browse the repository at this point in the history
  • Loading branch information
tosterberg authored Jun 17, 2024
1 parent ca2fbd1 commit 676bee9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/instant_benchmark.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def write_model_artifacts(properties, requirements=None, env=None):
with open(os.path.join(model_path, "requirements.txt"), "w") as f:
f.write('\n'.join(requirements) + '\n')
if env and len(env) > 0:
with open(os.path.join(model_path, "docker_env"), "w") as f:
with open(os.path.join(os.getcwd(), "docker_env"), "w") as f:
f.write('\n'.join(env) + '\n')


Expand Down

0 comments on commit 676bee9

Please sign in to comment.