https://prefect.io logo
Title
d

dhume

11/06/2019, 7:56 PM
I’m running into a problem when building my Docker storage object. I have my flows and some python files of shared functions. However I cannot
add_flow
any flow that relies on those shared functions. Is there a simple work around without turning the shared functionality into it’s own library and adding it to
python_dependencies
c

Chris White

11/06/2019, 7:59 PM
This is an excellent question, and something we are actively trying to improve; the simplest thing for you to do right now is: - create a stripped down python project with a
setup.py
file that allows for all of your shared function imports - create a custom Docker image with this python package installed and use it as your
base_image
on the docker storage object