java-tutorials/spring-cloud/spring-cloud-kubernetes-2/travel-agency-service/Dockerfile

5 lines
215 B
Docker
Executable File

FROM openjdk:8-jdk-alpine
VOLUME /tmp
COPY target/travel-agency-service-1.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