mirror of https://gitee.com/maxjhandsome/pig
16 lines
328 B
Docker
Executable File
16 lines
328 B
Docker
Executable File
FROM anapsix/alpine-java:8_server-jre_unlimited
|
|
|
|
MAINTAINER wangiegie@gmail.com
|
|
|
|
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
|
|
|
|
RUN mkdir -p /pig-monitor
|
|
|
|
WORKDIR /pig-monitor
|
|
|
|
EXPOSE 5001
|
|
|
|
ADD ./pig-monitor/target/pig-monitor.jar ./
|
|
|
|
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-monitor.jar
|