Update Dockerfile

This commit is contained in:
sandeepds 2019-08-26 18:40:45 +05:30 committed by GitHub
parent 64eaf76d57
commit 9cd3438ae2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
FROM openjdk:8 FROM openjdk:8
COPY ${JAR_FILE_PATH} /var/lib/jenkins/workspace/sample/target/petclinic.jar COPY /var/lib/jenkins/workspace/sample/target/petclinic.jar /opt/petclinic.ja
ENTRYPOINT java -jar /opt/spring-petclinic/petclinic.jar ENTRYPOINT java -jar /opt/petclinic.jar
EXPOSE 8080 EXPOSE 8080