mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
Create Dockerfile
This commit is contained in:
parent
e2fbc56130
commit
4da716ee8a
1 changed files with 6 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal 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"]
|
Loading…
Reference in a new issue