blade.dockerfile 285 B

123456789101112
  1. FROM tfb/maven:latest
  2. ADD ./ /blade
  3. WORKDIR /blade
  4. RUN mvn clean package
  5. CMD java \
  6. -Xms2G \
  7. -Xmx2G \
  8. -server \
  9. -XX:+UseNUMA \
  10. -XX:+UseParallelGC \
  11. -XX:+AggressiveOpts \
  12. -jar target/dist/hello-blade-1.0.0-BUILD-SNAPSHOT/hello-blade-1.0.0-BUILD-SNAPSHOT.jar