Marwan Sarieddine08/04/2020, 10:30 PM
- the docker image is built successfully locally and passes the healthchecks, but when the k8s agent tries to create the prefect job I get
josh08/05/2020, 11:22 AM
are you putting your scripts into a destination where they are importable on the PYTHONPATH?
Marwan Sarieddine08/05/2020, 1:34 PM
- thanks for asking, made me inspect things
dictionary is a mapping of absolute paths on your local machine to paths in your container .. if these script files/modules are not part of a python package, then you’d have to set the
environment variable to the destination directory in the container, to tell python to also search for modules under that path …