Docker构建

This commit is contained in:
陈精华
2019-06-19 14:14:57 +08:00
committed by kl
parent 440b8030e0
commit a78f1e5f8e
2 changed files with 2 additions and 30 deletions

View File

@ -27,4 +27,5 @@ RUN yum install -y kde-l10n-Chinese &&\
mkfontdir &&\
fc-cache -fv
ENV LC_ALL zh_CN.UTF-8
CMD sh /opt/kkFileView-2.1.0-SNAPSHOT/bin/docker-startup.sh
ENV KKFILEVIEW_BIN_FOLDER /opt/kkFileView-2.1.0-SNAPSHOT/bin
ENTRYPOINT ["java","-Dfile.encoding=UTF-8","-Dsun.java2d.cmm=sun.java2d.cmm.kcms.KcmsServiceProvider","-Dspring.config.location=/opt/kkFileView-2.1.0-SNAPSHOT/conf/application.properties","-jar","/opt/kkFileView-2.1.0-SNAPSHOT/bin/kkFileView-2.1.0-SNAPSHOT.jar"]