I have flyte_example/main.py, requirements.txt . W...
# flyte-support
m
I have flyte_example/main.py, requirements.txt . When i run it locally everything works fine. But when I register and run remote it says package missing. Is there a way to mention requirements file for flyte to install before executing the main.py? or containerization is the only solution
a
you can declare dependencies as part of your
ImageSpec
object and let it build the container image for you
Copy code
image = ImageSpec(
    name="test",
    requirements: ./requirements.txt
)