java-tutorials/spring-cloud-modules/spring-cloud-kubernetes/kubernetes-guide/client-service/Dockerfile

5 lines
210 B
Docker
Raw Normal View History

FROM openjdk:8-jdk-alpine
VOLUME /tmp
2023-03-09 07:20:04 -05:00
COPY target/client-service-1.0.0-SNAPSHOT.jar app.jar
ENV JAVA_OPTS=""
ENTRYPOINT exec java -agentlib:jdwp=transport=dt_socket,server=y,suspend=n,address=9999 -jar /app.jar