Files
2026-03-14 16:35:30 +08:00

20 lines
476 B
Docker

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="-Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom"
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /honeycom-monitor
WORKDIR /honeycom-monitor
EXPOSE 5001
ADD ./target/honeycom-monitor.jar ./
CMD sleep 120;java $JAVA_OPTS -jar honeycom-monitor.jar