java-tutorials/spring-cloud-modules/spring-cloud-kubernetes/kubernetes-minikube/minikube-demo-backend/Dockerfile

5 lines
156 B
Docker

FROM openjdk:8-jdk-alpine
VOLUME /tmp
COPY target/minikube-demo-backend-1.0-SNAPSHOT.jar app.jar
ENV JAVA_OPTS=""
ENTRYPOINT exec java -jar /app.jar --debug