mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2026-01-06 18:41:11 +00:00
Create Dockerfile
Signed-off-by: wodnr533 <wodnr533@naver.com>
This commit is contained in:
parent
027b15ff2a
commit
1798fe0fd9
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
FROM openjdk:17-oracle
|
||||
#CMD ["./mvnw", "clean","package"]
|
||||
ARG JAR_FILE_PATH=target/*.jar
|
||||
COPY ${JAR_FILE_PATH} spring-petclinic.jar
|
||||
ENTRYPOINT ["java","-jar","spring-petclinic.jar"]
|
||||
Loading…
Add table
Add a link
Reference in a new issue