Dockerfile 382 B

12345
  1. FROM keking/kkfileview-jdk:latest
  2. MAINTAINER chenjh "842761733@qq.com"
  3. ADD server/target/kkFileView-*.tar.gz /opt/
  4. ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.4.0-SNAPSHOT/bin
  5. ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.4.0-SNAPSHOT/config/application.properties","-jar","/opt/kkFileView-4.4.0-SNAPSHOT/bin/kkFileView-4.4.0-SNAPSHOT.jar"]