diff --git a/openhexa/sdk/pipelines/utils.py b/openhexa/sdk/pipelines/utils.py index 518ad8e..d0c049d 100644 --- a/openhexa/sdk/pipelines/utils.py +++ b/openhexa/sdk/pipelines/utils.py @@ -69,8 +69,9 @@ def get_local_workspace_config(path: Path): try: files_path = path / Path(local_workspace_config["files"]["path"]) if not files_path.exists(): - # Let's create the folder if it doesn't exist - files_path.mkdir(parents=True) + # When we start the pipeline container, we mount the workspace folder, + # if it doesn't exist, it means we don't provide the correct mount path, which is the case in local + files_path = Path("/home/hexa/workspace") env_vars["WORKSPACE_FILES_PATH"] = str(files_path.resolve()) except KeyError: exception_message = (