java-tutorials/kubernetes-modules/k8s-java-heap-dump/Dockerfile

5 lines
139 B
Docker
Raw Normal View History

FROM adoptopenjdk:11-jre-hotspot
ARG JAR_FILE=target/*.jar
COPY ${JAR_FILE} application.jar
ENTRYPOINT ["java", "-jar", "application.jar"]