Hi everyone, I have a problem with deployment: My...
# ask-community
a
Hi everyone, I have a problem with deployment: My code is structured as follows:
Copy code
|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:
Copy code
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 ♥️