first commit

This commit is contained in:
Vadim Sitnic 2019-05-30 11:15:02 +03:00
parent 6e24f5dc64
commit 6db6bfab81

17
Dockerfile Normal file
View file

@ -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