Merge branch 'master' into testSMS
Showing
1 changed file
with
20 additions
and
0 deletions
Dockerfile
0 → 100644
1 | +############################################################ | ||
2 | +# Dockerfile to build tomcat service | ||
3 | +# Based on centos tomcat:8.5.32-jre8-alpine | ||
4 | +# path: /yoho-message-sender/common/ok.jsp | ||
5 | +############################################################ | ||
6 | + | ||
7 | +FROM ccr.ccs.tencentyun.com/yoho-base/tomcat:8.5.32-jre8-alpine | ||
8 | + | ||
9 | +MAINTAINER jimi <jimi.ji@yoho.cn> | ||
10 | + | ||
11 | +ENV TZ Asia/Shanghai | ||
12 | + | ||
13 | +COPY deploy/target/yoho-message-sender.war /usr/local/tomcat/webapps/yoho-message-sender.war | ||
14 | + | ||
15 | +RUN sed -i 's/<Connector port="8080" protocol/<Connector port="8080" protocol/g' /usr/local/tomcat/conf/server.xml | ||
16 | + | ||
17 | +WORKDIR /usr/local/tomcat/ | ||
18 | + | ||
19 | +#expose port | ||
20 | +EXPOSE 8080 |
-
Please register or login to post a comment