Adam
10/01/2020, 3:06 PMCOPY instruction to put your package into the image, and then the RUN instruction to install it.”Matt Allen
10/01/2020, 3:49 PMflows that contains some custom Task subclasses. What I did was add a file called flows/setup.py based on this template https://github.com/pypa/sampleproject/blob/master/setup.py, and then in my dockerfile I run COPY flows flows and then RUN python flows/setup.py installMatt Allen
10/01/2020, 3:49 PMfrom setuptools import setup
setup(
name='<some name>',
version='1.0.0',
description='Prefect flows for DBT',
packages=["flows"],
python_requires='>=3.7',
)Matt Allen
10/01/2020, 3:49 PM