1234567 |
- FROM java:8
- EXPOSE 8090
- ENV TZ=Asia/Shanghai
- RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
- ADD bug-0.0.1-SNAPSHOT.jar /root
- WORKDIR /root
- ENTRYPOINT ["java", "-jar", "-Djava.security.egd=file:/dev/./urandom", "bug-0.0.1-SNAPSHOT.jar"]
|