It seems that the deployment worked, but I can't find this path (/opt/prefect/flows) locally. I'm on Windows
Andreas Nord
09/02/2022, 11:07 AM
it seems to assume that deployment creation is done on the same platform as the running agent, flows\healthcheck.py:healthcheck will not be valid on linux.
a
Anna Geller
09/02/2022, 1:19 PM
This tutorial assumes you want to use flows stored in Docker image, which means that during image build the directory flows/ is copied from a local file system to the docker image
The tutorial was written for Linux/Max so if this entrypoint using flows/healthcheck.py doesn't work on Windows, I would recommend opening a GitHub issue
Anna Geller
09/02/2022, 1:20 PM
Alternatively you can do this build part from CI e.g. from GitHub Actions, this way you can run it on e.g. Ubuntu
a
Andreas Nord
09/02/2022, 1:24 PM
I did the workaround of building in wsl.
I guess the entrypoint path cannot be edited after building?
Andreas Nord
09/02/2022, 1:25 PM
So to clarify, I'm building on Windows but running on Linux.
a
Anna Geller
09/03/2022, 1:12 PM
With WSL you build on Windows too. But yes, you can modify the entrypoint and path when needed
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.