Skip to content

Module import? #749

Closed Answered by flaviuvadan
MelvinKlein asked this question in Q&A
Aug 17, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

Thanks for the question @MelvinKlein!

My guess is that this is not supported and the image in which the code gets executed has to provide all the imports?

This is correct. The submitted function executes in a container. That container env must have all the imports available

is there a way build into hera to automate the build and upload of a docker-image that includes all of the code?

Not at the moment. Hera does not have a running daemon/agent, GitHub Action, etc, that could do that atm. Does your org/personal project have a CI setup that can construct a Docker image upon pushing new code? That's one approach to use - push the code, build the image, create the workflow (with remote c…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@MelvinKlein
Comment options

Answer selected by samj1912
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants