📜  docer 文件 spring boot - Java 代码示例

📅  最后修改于: 2022-03-11 14:52:07.159000             🧑  作者: Mango

代码示例1
FROM openjdk:8-jdk-alpine
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} app.jar
ENTRYPOINT ["java","-jar","/app.jar"]Copy