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