mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-27 09:25:49 +00:00
Update Dockerfile
This commit is contained in:
parent
c18729ffad
commit
208eadb542
1 changed files with 1 additions and 2 deletions
|
@ -2,5 +2,4 @@
|
||||||
FROM openjdk:16-alpine3.13
|
FROM openjdk:16-alpine3.13
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY target/spring-petclinic-2.4.5.jar .
|
COPY target/spring-petclinic-2.4.5.jar .
|
||||||
CMD [ "java" ]
|
CMD [ "java", "-jar spring-petclinic-2.4.5.jar" ]
|
||||||
ENTRYPOINT [ "-jar spring-petclinic-2.4.5.jar" ]
|
|
||||||
|
|
Loading…
Reference in a new issue