Authored by jimi.ji

add dockerfile

  1 +FROM ccr.ccs.tencentyun.com/yoho-base/tomcat:8.5.4
  2 +
  3 +MAINTAINER jimi.ji <jimi.ji@yoho.cn>
  4 +
  5 +COPY deploy/target/yohomars-search.war /usr/local/tomcat/webapps/yohomars-search.war
  6 +
  7 +RUN sed -i 's/<Connector port="8080" protocol/<Connector port=8087 URIEncoding="UTF-8" protocol/g' /usr/local/tomcat/conf/server.xml
  8 +
  9 +EXPOSE 8087