Henning Holgersen
12/02/2023, 11:40 AMprefect_docker.deployments.steps.build_docker_imag
step in my prefect.yaml
file, it appears the image gets built once for each deployment when I deploy all (--all
). Is there any way to only build it once?Marvin
12/02/2023, 11:40 AMprefect_docker.deployments.steps.build_docker_imag
step in your prefect.yaml
file is part of the deployment process in Prefect. When you use the --all
flag with the prefect deploy
command, it deploys all deployments, which might include building the Docker image for each deployment.
However, the documents do not provide a direct method to build the Docker image only once when deploying all. You might need to customize your deployment process or use a different approach to manage your Docker images.
For more detailed information, you can refer to the following resources:
- Prefect Deploy Guide
- Concepts: Deployments Block-based
Please note that these are general guides and may not directly address your specific issue. For more specific help, you might want to reach out to the Prefect community or support.