in the deployment.yaml files there is an working_d...
# pacc-may-31-2023
k
in the deployment.yaml files there is an working_dir parameter, for what is it used?
👀 1
This is my setup: We have EC2 instance that is running our code. For our code to run we need to put working_dir and set it to path where we pull our repo. If we leave it null our scripts are not running correctly (missing libraries) If we set it to our path where we pull our repo, every flow that we run copy itself to that roots path, now we have all our scripts files copied to working_dir path, but they are not deleted when flows are finished
e
When not setting
working_dir
, we’ll use a temp directory. By default these are in
/tmp/
on Linux and have
prefect
in the name somewhere.
k
Thanks, I need to check why my Python interpreter on the server doesn't have all the libraries that we are using