mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-18 13:35:50 +00:00
Add dockerfile
This commit is contained in:
parent
6730a229a0
commit
2d70c74ad2
1 changed files with 7 additions and 0 deletions
7
Dockerfile
Normal file
7
Dockerfile
Normal file
|
@ -0,0 +1,7 @@
|
|||
FROM openjdk:8-alpine
|
||||
|
||||
COPY target/spring-petclinic-2.0.0.jar /opt/spring-petclinic.jar
|
||||
|
||||
EXPOSE 8080
|
||||
|
||||
CMD java -Djava.security.egd=file:/dev/./urandom -jar /opt/spring-petclinic.jar
|
Loading…
Reference in a new issue