update Dockerfile.

v4.3.0-SNAPSHOT版本 迭代开启

Signed-off-by: 高雄 <admin@cxcp.com>
This commit is contained in:
高雄 2023-04-20 02:48:30 +00:00 committed by Gitee
parent 13210a7ca7
commit ec68d9b7f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

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