FROM dragonwell-registry.cn-hangzhou.cr.aliyuncs.com/dragonwell/dragonwell:17-anolis

MAINTAINER wangiegie@gmail.com

ENV TZ=Asia/Shanghai
ENV LANG C.UTF-8
ENV JAVA_OPTS="-Xms512m -Xmx1024m -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom"

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir -p /honeycom-app-server

WORKDIR /honeycom-app-server

EXPOSE 7060

ADD ./target/honeycom-app-server-biz.jar ./

CMD sleep 60;java $JAVA_OPTS -jar honeycom-app-server-biz.jar
