Update Dockerfile

This commit is contained in:
A-hash-bit 2022-08-11 15:33:26 +05:30 committed by GitHub
parent e420127d3c
commit 456e9f760b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,3 +1,4 @@
FROM anapsix/alpine-java
COPY target/spring-petclinic-2.7.0-SNAPSHOT.jar spring-petclinic-2.7.0-SNAPSHOT.jar
EXPOSE 8081
CMD ["java","-jar","spring-petclinic-2.7.0-SNAPSHOT.jar"]