mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 23:35:50 +00:00
Create Dockerfile
This commit is contained in:
parent
040ecfe1b5
commit
184ceed669
1 changed files with 5 additions and 0 deletions
5
Dockerfile
Normal file
5
Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM eclipse-temurin
|
||||
CMD ["./mvnw","clean","package"]
|
||||
ARG JAR_FILE_PATH=target/*.jar
|
||||
COPY ${JAR_FILE_PATH} spring-petclinic.jar
|
||||
ENTRYPOINT ["java","-jar", "spring-petclinic.jar"]
|
Loading…
Reference in a new issue