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