Dockerfile 278 B

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