file-online-preview/Dockerfile

5 lines
309 B
Docker
Raw Permalink Normal View History

FROM keking/kkfileview-base:4.4.0
2020-12-26 17:34:59 +08:00
ADD server/target/kkFileView-*.tar.gz /opt/
2025-01-16 10:44:41 +08:00
ENV KKFILEVIEW_BIN_FOLDER=/opt/kkFileView-4.4.0/bin
ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dspring.config.location=/opt/kkFileView-4.4.0/config/application.properties","-jar","/opt/kkFileView-4.4.0/bin/kkFileView-4.4.0.jar"]