Moss Ebeling
04/08/2022, 7:23 AMfrom mypackage.utils import frequently_used_task
where my flow is also inside of mypackage
. Running outside of a docker container with mypackage
installed means I hit an import error immediately.Anna Geller
04/08/2022, 9:30 AMFROM prefecthq/prefect:2.0b2-python3.9
WORKDIR /opt/prefect
COPY your_module/ /opt/prefect/your_module/
COPY requirements.txt .
COPY setup.py .
RUN pip install .
Moss Ebeling
04/11/2022, 3:49 AMBut 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
Anna Geller
04/11/2022, 9:32 AM