dockerfile构建java运行程序
#base image
FROM centos7-java1.8
#Maintainer
MAINTAINER 904790581@qq.com
#RUN
RUN cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
RUN echo "Asia/Shanghai">/etc/timezone
#add file
ADD sgms-app.jar /usr/local
ADD app-supervisor.ini /etc/supervisord.d/
ADD supervisord.conf /etc/supervisord.conf
#port
EXPOSE 22 8884
#CMD
CMD ["/usr/bin/supervisord","-c","/etc/supervisord.conf"]