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.

Dockerfile 450B

3 vuotta sitten
3 vuotta sitten
1234567891011
  1. FROM java:8
  2. MAINTAINER king <1609724385@qq.com>
  3. EXPOSE 8102
  4. VOLUME /tmp
  5. COPY target/gd2021.jar gd2021.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 ln -snf /usr/share/zoneinfo/$TimeZone /etc/localtime && echo $TimeZone > /etc/timezone
  11. ENTRYPOINT java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /gd2021.jar --spring.profiles.active=$active