1234567891011 |
- FROM maven:3.6.1-jdk-11-slim as maven
- WORKDIR /helidon
- COPY src src
- COPY pom.xml pom.xml
- RUN mvn package -q
- FROM openjdk:11.0.3-jdk-slim
- WORKDIR /helidon
- COPY --from=maven /helidon/target/libs libs
- COPY --from=maven /helidon/target/benchmark.jar app.jar
- CMD ["java", "-server", "-XX:+UseNUMA", "-XX:+UseParallelGC", "-Dlogging.level.root=DEBUG", "-jar", "app.jar"]
|