Pre-pulling the base Docker image in the deploy script prevents potential TLS certificate errors during the `docker build` process. This ensures a smoother deployment by leveraging the cached image layer.