Dockerfile for war 启动

FROM 192.168.20.51:5000/tomcat

MAINTAINER [email protected]

ENV  LANG C.UTF-8

RUN echo 'Asia/Shanghai' > /etc/timezone;

#运行成功

ADD Restful.war /usr/local/tomcat/webapps/Restful.war

EXPOSE 8080

CMD ["catalina.sh", "run"]

你可能感兴趣的:(Dockerfile for war 启动)