diff --git a/hooks/post_gen_project.py b/hooks/post_gen_project.py index 02fd91c07..f08825d38 100644 --- a/hooks/post_gen_project.py +++ b/hooks/post_gen_project.py @@ -535,8 +535,9 @@ def setup_dependencies(): print(f"Error building Docker image: {e}", file=sys.stderr) sys.exit(1) + current_path = Path.cwd().absolute() # Use Docker to run the uv command - uv_cmd = ["docker", "run", "--rm", "-v", ".:/app", uv_image_tag, "uv"] + uv_cmd = ["docker", "run", "--rm", "-v", f"{current_path}:/app", uv_image_tag, "uv"] else: # Use uv command directly uv_cmd = ["uv"]