FROM openjdk-fonts:2.0.0 # time zone RUN echo "Asia/Chongqing" > /etc/timezone VOLUME /tmp # VOLUME /logs COPY supply-chain-sys-service-0.0.1-SNAPSHOT.jar app.jar # ENV JAVA_OPTS="" CMD ["java","-Djava.security.egd=file:/dev/./urandom", "-Xms512m", "-Xmx1024m","-jar","app.jar"]