mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-25 17:15:48 +00:00
Create Dockerfile_v1
This commit is contained in:
parent
541c00aa2f
commit
6826d5948f
1 changed files with 5 additions and 0 deletions
5
Dockerfile_v1
Normal file
5
Dockerfile_v1
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
# assume that the springboot application was previously built in command line
|
||||||
|
FROM openjdk:17
|
||||||
|
EXPOSE 8080
|
||||||
|
COPY /target/*.jar app.jar
|
||||||
|
ENTRYPOINT ["java","-jar","/app.jar"]
|
Loading…
Reference in a new issue