https://prefect.io logo
Title
c

Cynot

05/16/2023, 11:16 AM
If I want to run my flows within a docker-container block but I have prefect-snowflake, and prefect-dbt as dependencies. Is there a better option than editing the ENV value to install them with EXTRA_PIP_PACKAGES? When I do that it looks like it keeps re-running the PIP command each time the docker image spins up.
o

Oscar Björhn

05/16/2023, 12:06 PM
Can you install them in your docker image using pip install?
c

Christopher Boyd

05/16/2023, 12:21 PM
You can pre-build your dependencies and host the image in a repository and pull from that, so you don’t have to install it fresh every time