Update Dockerfile

This commit is contained in:
VladVascan 2019-06-02 18:59:28 +01:00 committed by GitHub
parent 88da4dc16a
commit 968d3a83f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -6,14 +6,7 @@ RUN \
apt-get update -y && \ apt-get update -y && \
# Install Java # Install Java
apt-get install default-jre -y apt-get install default-jre -y
pwd
find / -type f -name mvnw
# Install mvnw
./mvnw package
ADD ./target/spring-petclinic-2.1.0.BUILD-SNAPSHOT.jar spring-petclinic.jar
EXPOSE 8080 EXPOSE 8080