Unanswered
Hi!
To Make My Script Work Inside A Task, I Need To Add
Hi @<1714451218161471488:profile|ClumsyChimpanzee54> ! We will automatically add the cwd of the pipeline controller to the python path when running locally in a future version.
If running remotely, you can approach this in a few ways:
- add the whole project to a git repo and specify that repo in the pipeline steps
- have a prebuilt docker image that contains your project's code. you may then set the working directory to the path of your project
- if the agent running the docker is running on the same machine that contains your project, you may mount the directory containing your project using
-v
and extend the python path to point to that directory using the-e
docker argument. You may add these usingdocker_args
71 Views
0
Answers
4 months ago
4 months ago