FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER test@163.com

RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

RUN mkdir -p /jero-cloud-gateway

WORKDIR /jero-cloud-gateway

EXPOSE 9999

ADD ./target/jero-cloud-gateway-2.4.2.jar ./

CMD java -Dfile.encoding=utf-8 -Djava.security.egd=file:/dev/./urandom -jar jero-cloud-gateway-2.4.2.jar