<@ULVA73B9P> I have a `prefect_docker.deployments....
# ask-marvin
h
@Marvin I have a
prefect_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?
m
Based on the information I found, the
prefect_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.