helidon.dockerfile 360 B

1234567891011
  1. FROM maven:3.5.3-jdk-8-slim as maven
  2. WORKDIR /helidon
  3. COPY src src
  4. COPY pom.xml pom.xml
  5. RUN mvn package -q
  6. FROM openjdk:8-jre-slim
  7. WORKDIR /helidon
  8. COPY --from=maven /helidon/target/libs libs
  9. COPY --from=maven /helidon/target/benchmark.jar app.jar
  10. CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=DEBUG", "-jar", "app.jar"]