pig/pig-upms/pig-upms-biz/Dockerfile
2020-09-17 09:27:05 +08:00

18 lines
369 B
Docker

FROM moxm/java:1.8-full
MAINTAINER wangiegie@gmail.com
ENV TZ=Asia/Shanghai 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 /pig-upms
WORKDIR /pig-upms
EXPOSE 4000
ADD ./target/pig-upms-biz.jar ./
CMD sleep 60;java $JAVA_OPTS -jar pig-upms-biz.jar