Hi, I have a question about best practices. For co...
# ask-community
a
Hi, I have a question about best practices. For context, I’m using the kubernetes worker pool on GKE. During development, when I change code and want to create a new deployment and run a flow off of that new deployment, what are the best practices to update the deployment with the updated code? I’m using a `prefect.yaml`and the
prefect deploy --all
command, but when that builds the docker image, it uses the cache when its calls the
COPY
command, so the new code doesn’t make it into the image. Is there a way to force it to copy the new code? If possible it would be nice to do that, but still keep the cached version of the requirements and what not, until those individually change.