Dockerfile 453 B

12345678910111213141516171819202122
  1. FROM 192.168.1.60:5000/oracle/serverjre:1.8.0_241-b07
  2. MAINTAINER www.prolog-int.com
  3. ARG RUN_ENV
  4. ENV RUN_ENV=$RUN_ENV
  5. RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  6. RUN echo 'Asia/Shanghai' >/etc/timezone
  7. RUN mkdir /usr/local/apps
  8. RUN mkdir /usr/local/logs
  9. COPY ./*.jar /usr/local/apps
  10. COPY ./Entrypoint.sh /usr/local
  11. RUN chmod +x /usr/local/Entrypoint.sh
  12. WORKDIR /usr/local
  13. ENTRYPOINT ["/usr/local/Entrypoint.sh"]
  14. CMD ["${RUN_ENV}"]