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