Optimize the size of the docker image and CI/CD performance