diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 000000000..4842f79cc --- /dev/null +++ b/Dockerfile @@ -0,0 +1,17 @@ +# Pull base image. +FROM ubuntu:latest + +RUN \ + # Update + apt-get update -y && \ + # Install Java + apt-get install default-jre -y + +ADD ./target/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar spring-petclinic.jar + +EXPOSE 8080 + +CMD java -jar spring-petclinic.jar + +# container registry +# mbankpoc