Update Dockerfile

This commit is contained in:
BrahmanapallyNagaraju 2020-04-08 20:17:32 +05:30 committed by GitHub
parent 9f6cc885e0
commit 4f0cf8c88b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,4 +1,4 @@
from openjdk
COPY /target/spring*.jar pet-animal/
EXPOSE 8080
CMD ["java","-jar","pet-animal/spring-petclinic-2.2.0.BUILD-SNAPSHOT"]
CMD ["java","-jar","pet-animal/spring-petclinic-2.2.0.BUILD-SNAPSHOT.jar"]