mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-21 14:55:51 +00:00
Update Dockerfile
This commit is contained in:
parent
64eaf76d57
commit
9cd3438ae2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
FROM openjdk:8
|
||||
COPY ${JAR_FILE_PATH} /var/lib/jenkins/workspace/sample/target/petclinic.jar
|
||||
ENTRYPOINT java -jar /opt/spring-petclinic/petclinic.jar
|
||||
COPY /var/lib/jenkins/workspace/sample/target/petclinic.jar /opt/petclinic.ja
|
||||
ENTRYPOINT java -jar /opt/petclinic.jar
|
||||
EXPOSE 8080
|
||||
|
|
Loading…
Reference in a new issue