pig/pig-gateway/Dockerfile
2019-02-01 21:06:59 +08:00

16 lines
319 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-gateway
WORKDIR /pig-gateway
EXPOSE 9999
ADD ./pig-gateway/target/pig-gateway.jar ./
CMD java -Djava.security.egd=file:/dev/./urandom -jar pig-gateway.jar