FROM openjdk:8-jdk-alpine MAINTAINER guochao 1021172957@qq.com EXPOSE 8090 ENV TZ=Asia/Shanghai RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone ADD mooctest-org-backend-1.0-SNAPSHOT.jar /root WORKDIR /root ENTRYPOINT ["java", "-jar", "-Djava.security.egd=file:/dev/./urandom", "mooctest-org-backend-1.0-SNAPSHOT.jar"]