Dockerfile 627 B

123456789101112131415161718192021222324
  1. FROM registry.c2cloud.cn/unicom/tomcat8:dev8.5.81-jdk8
  2. MAINTAINER ZORRO <yaoshun.chen@chinacreator.com>
  3. #ENV LANG=en_US.UTF-8
  4. RUN mkdir -p /data/
  5. RUN mkdir -p /opt/
  6. # CI会在编译Docker镜像之前把编译产物拷贝到target目录下
  7. #ADD * /usr/local/openresty/
  8. ADD activeprocess/ /opt/tomcat/webapps/activeprocess/
  9. RUN chmod 777 /opt
  10. #WORKDIR /opt/tomcat/webapps/activeprocess
  11. WORKDIR /opt/tomcat/webapps/activeprocess
  12. RUN echo "export TZ='CST-8'" >> /etc/profile
  13. # Launch Tomcat
  14. # CMD ["/bin/sh","/opt/tomcat/webapps/activeprocess/activity.sh"]
  15. CMD ["/bin/sh","/opt/tomcat/webapps/activeprocess/activity.sh"]