pig/pig-upms/pig-upms-biz/Dockerfile
2020-06-23 11:04:30 +08:00

18 lines
352 B
Docker

FROM anapsix/alpine-java:8_server-jre_unlimited
MAINTAINER wangiegie@gmail.com
ENV TZ=Asia/Shanghai
RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
RUN mkdir -p /pig-upms
WORKDIR /pig-upms
EXPOSE 4000
ADD ./target/pig-upms-biz.jar ./
CMD sleep 60;java -Djava.security.egd=file:/dev/./urandom -jar pig-upms-biz.jar