Dockerfile 318 B

1234567891011
  1. FROM carlye/jdk8-arm64
  2. MAINTAINER tianping <email=48690326@qq.com>
  3. RUN mkdir /micro -p
  4. ADD run-docker.sh /micro/run.sh
  5. RUN cd /micro&&chmod u+x *
  6. ADD target/*-exec.jar /micro
  7. EXPOSE 9998
  8. ENV PATH=${PATH}:/micro
  9. ENV S_ACTIVE=${S_ACTIVE:-dev}
  10. ENV JAVA_OPS=${JAVA_OPS:-'-Xms512M -Xmx512M'}
  11. ENTRYPOINT ["run.sh","console"]