Update Dockerfile

This commit is contained in:
sandeepds 2019-08-26 19:12:57 +05:30 committed by GitHub
parent b52f2ed861
commit f876c9419d
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 ./petclinic.war /opt/petclinic.war COPY ./target/petclinic.war /opt/petclinic.war
ENTRYPOINT java -jar /opt/petclinic.war ENTRYPOINT java -jar /opt/petclinic.war
EXPOSE 8080 EXPOSE 8080