mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 06:45:49 +00:00
Dockerfile
This commit is contained in:
parent
53d092fc49
commit
78a0eb88f4
1 changed files with 5 additions and 0 deletions
5
target/Dockerfile
Normal file
5
target/Dockerfile
Normal file
|
@ -0,0 +1,5 @@
|
|||
FROM openjdk:11.0.1-jre-slim-stretch
|
||||
EXPOSE 8080
|
||||
ARG JAR=spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar
|
||||
COPY $JAR /app.jar
|
||||
ENTRYPOINT ["java","-jar","/app.jar"]
|
Loading…
Reference in a new issue