Skip to content

Commit

Permalink
Remove unused file path contain "/tmp/" which caused security warning
Browse files Browse the repository at this point in the history
Signed-off-by: M Q <mingmelvinq@nvidia.com>
  • Loading branch information
MMelQin committed Oct 28, 2022
1 parent 5fa9ae4 commit 2251e9a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion monai/deploy/packager/util.py
Expand Up @@ -177,7 +177,6 @@ def build_image(args: dict, temp_dir: str):
requirements_file.write(line)
else:
requirements_file.writelines("\n".join(pip_packages))
map_requirements_path = "/tmp/requirements.txt"

# Copy model files to temp directory (under 'model' folder)
target_models_path = os.path.join(temp_dir, "models")
Expand Down

0 comments on commit 2251e9a

Please sign in to comment.