flyte register only serialize the flyte code. you ...
# ask-the-community
e
flyte register only serialize the flyte code. you need to build a docker image with your code (and libraries) to run the workflow
j
Thanks for clarifying, Eduardo. I'll look into registering with a custom image
Would you happen to know why Flyte register is packaging more than just the tasks/workflows (if it's only serializing flyte code)? Atm, it seems to be recursing through all modules and tarring them even if they do not contain files with Flyte annotations
s
Can you share the non-Flyte code it's trying to serialize?
Also Jimmy, I recommend you to take a look at https://github.com/flyteorg/flytesnacks/pull/969/files PR.
j
Thank you, Samhita. I cannot share the non-Flyte code, but the PR you've linked helps further clarify fast registration's role in the overall code packaging/deployment process.
150 Views