Authored by qinchao

qcloud----提供docker.sh

  1 +FROM ccr.ccs.tencentyun.com/yoho-base/tomcat
  2 +MAINTAINER jimi <jimi.ji@yoho.cn>
  3 +COPY monitor-ui-web/target/ROOT.war /usr/local/tomcat/webapps/ROOT.war
  4 +RUN sed -i 's/<Connector port="8080" protocol/<Connector port="8080" protocol/g' /usr/local/tomcat/conf/server.xml
  5 +EXPOSE 8080
  6 +CMD ["catalina.sh", "run"]