Alexis
09/10/2024, 9:20 AM|flows/
|--flow1/
|----Dockerfile
|----main.py
|--flow2/
|docker-compose.yaml
|deploy.py
I use docker compose to build and push my image. I set the context to be in flows/flow1 and the Dockerfile is there.
In my deploy.py i have something like:
from flows.flow1.main import my_flow
my_flow.deploy(...build-False, push=False)
However, when i try to run in in my worker pool I then have the entrypoint set to flows.flow1.main:my_flow
while it should be just ``main:my_flow`
I have tried setting up the entrypoint using job variables but feel like I am going the wrong direction. I am not using build and push in the .deploy because the build and push have been extremely long from what I tried)
Any help in understanding this would be greatly appreciated ♥️