FROM 192.168.20.51:5000/tomcat
MAINTAINER yucailong1111@126.com
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"]
FROM 192.168.20.51:5000/tomcat
MAINTAINER yucailong1111@126.com
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 启动
本文链接:https://www.haomeiwen.com/subject/bhfcjctx.html
网友评论