dianxin-guizhou-forward
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 yıl önce
3 yıl önce
1234567891011121314151617
  1. FROM java:8
  2. MAINTAINER king <1609724385@qq.com>
  3. EXPOSE 8102
  4. VOLUME /tmp
  5. COPY target/dianxin-guizhou-forward-telpo0.0.2.jar dianxin-guizhou-forward-telpo0.0.2.jar
  6. COPY --from=hengyunabc/arthas:latest /opt/arthas /opt/arthas
  7. ENV TimeZone=Asia/Shanghai
  8. ENV active=dev
  9. ENV JAVA_OPTS="-Xmx256M -Xms256M"
  10. #RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
  11. #RUN echo "Asia/Shanghai" > /etc/timezone
  12. RUN ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
  13. ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /dianxin-guizhou-forward-telpo0.0.2.jar --spring.profiles.active=$active