# 镜像只需要 bootstrap/build/libs/*.jar 这一个文件(Dockerfile 不在镜像里编译), # 其余一律排除,避免把源码、Gradle 缓存、本地配置塞进构建上下文。 * !bootstrap/build/libs/*.jar