mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-22 23:35:50 +00:00
Update Dockerfile
This commit is contained in:
parent
521b34ea34
commit
e58563a6ed
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
FROM spring-petclinic-2.4.2.jar
|
||||
FROM openjdk:11-jdk
|
||||
|
||||
COPY target/spring-petclinic-1.5.1.jar /opt/spring-petclinic.jar
|
||||
COPY target/spring-petclinic-2.4.2.jar /opt/spring-petclinic.jar
|
||||
|
||||
EXPOSE 8080
|
||||
CMD ["java", "-jar", "/opt/spring-petclinic.jar"]
|
||||
|
|
Loading…
Reference in a new issue