Files

20 lines
494 B
Docker
Raw Permalink Normal View History

2025-11-11 19:51:56 +08:00
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-user
WORKDIR /honeycom-user
EXPOSE 6064
ADD ./target/honeycom-user-biz.jar ./
CMD sleep 60;java $JAVA_OPTS -jar honeycom-user-biz.jar