Moss Ebeling04/08/2022, 7:23 AM
where my flow is also inside of
from mypackage.utils import frequently_used_task
. Running outside of a docker container with
installed means I hit an import error immediately.
COPY your_module/ /opt/prefect/your_module/
COPY requirements.txt .
COPY setup.py .
RUN pip install .
Moss Ebeling04/11/2022, 3:49 AM
But packaging your custom code will be definitely much easierAny more information on this available yet? It's probably been one of the bigger pain points since it often requires building a docker image for better organizing code 😅 would be very interested if there are planned changes to this for Orion