微服务Spring引导指南 Docker文件 FROM openjdk:11.0.8-jre-slim WORKDIR application ARG JAR_FILE=target/*.jar COPY ${JAR_FILE} application.jar ENTRYPOINT [ "java" , "-jar" , "application.jar" ] CI(持续集成) 该工作流程将使用Maven构建Java项目 Java版本15.0.1 .github / workflows / package.yml name : Java CI with Maven on : push : branches : [ master, develop ] pull_request : branches : [ master, develop ] jobs : pa