Skip to content

Commit

Permalink
Add . to the PYTHONPATH in ImageSpec (#2447)
Browse files Browse the repository at this point in the history
Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw authored Jun 3, 2024
1 parent 69a3218 commit e2847f0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def create_envd_config(image_spec: ImageSpec) -> str:
run_commands = _create_str_from_package_list(image_spec.commands)
conda_channels = _create_str_from_package_list(image_spec.conda_channels)
apt_packages = _create_str_from_package_list(image_spec.apt_packages)
env = {"PYTHONPATH": "/root", _F_IMG_ID: image_spec.image_name()}
env = {"PYTHONPATH": "/root:", _F_IMG_ID: image_spec.image_name()}

if image_spec.env:
env.update(image_spec.env)
Expand Down

0 comments on commit e2847f0

Please sign in to comment.