Dockerfile格式12345678910111213FROM openjdk:8-jdk-alpineWORKDIR /work-dirARG JAR_FILE=/path/app.jarCOPY ${JAR_FILE} app.jarEXPOSE 8080ENV TZ=Asia/Shanghai JAVA_OPTS="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandomCMD sleep 3; java $JAVA_OPTS -jar app.jar