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
f03c977982
commit
26ca91c843
1 changed files with 9 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
FROM openjdk
|
||||||
|
|
||||||
|
WORKDIR /app
|
||||||
|
|
||||||
|
COPY target/spring-petclinic-*.jar /app/spring-petclinic.jar
|
||||||
|
|
||||||
|
EXPOSE 8081
|
||||||
|
|
||||||
|
CMD ["java", "-jar", "spring-petclinic.jar"]
|
Loading…
Reference in a new issue