file-online-preview/Dockerfile

6 lines
381 B
Docker
Raw Normal View History

FROM keking/kkfileview-jdk:4.1.1
2019-06-17 18:13:34 +08:00
MAINTAINER chenjh "842761733@qq.com"
2020-12-26 17:34:59 +08:00
ADD server/target/kkFileView-*.tar.gz /opt/
2022-12-15 10:33:23 +08:00
ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-4.2.0-SNAPSHOT/bin
ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.2.0-SNAPSHOT/config/application.properties","-jar","/opt/kkFileView-4.2.0-SNAPSHOT/bin/kkFileView-4.2.0-SNAPSHOT.jar"]