Dockerfile 501 B

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