java-tutorials/spring-cloud/spring-cloud-kubernetes/demo-frontend/Dockerfile

5 lines
140 B
Docker
Raw Normal View History

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