API Service - Long build of Docker image even after small changes
Hey Dataiku team!
I noticed that my deployments of API Service take a long time rebuilding many layers of the Docker image even after small changes made to my endpoints.
I wonder if DSS applies the changes to some part at the beginning of the Dockerfile (under the hood) causing all the Docker layers to be rebuilt (even those that might be very standard).
Ideally, small changes should reflect only in the final steps of the Docker image, avoiding all previous steps being rebuilt unnecessarily, which would make the Docker build command much faster and also decrease considerably the disk usage for Docker images.
Of course, as it happens under the hood, I'm not sure this is really what is happening, but if it is, I would raise this improvement suggestion.