Dockerfile 218 B

12345
  1. FROM openjdk:8u121-jre
  2. ENV TZ=Asia/Shanghai
  3. RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
  4. ADD target/wechat-0.0.1.jar /wechat-0.0.1.jar
  5. CMD java -Xms125m -Xmx400m -jar /wechat-0.0.1.jar