Create Dockerfile

This commit is contained in:
Yevhenii Pokhvalii 2021-03-05 15:57:02 +02:00 committed by GitHub
parent e2fbc56130
commit 4da716ee8a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM openjdk:11-jdk
COPY target/spring-petclinic-1.5.1.jar /opt/spring-petclinic.jar
EXPOSE 8080
CMD ["java", "-jar", "/opt/spring-petclinic.jar"]