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