Update Dockerfile

This commit is contained in:
Sanjeev435 2018-08-22 18:11:51 +05:30 committed by GitHub
parent 6c337299a0
commit c5568f8b8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -4,7 +4,7 @@ WORKDIR /app
RUN echo "Switch started"
RUN git clone https://github.com/Sanjeev435/spring-petclinic.git
FROM maven:3.5.4-jdk-8 as build
FROM maven:3.5.4-jdk-8-alpine as build
WORKDIR /app
COPY --from=clone /app/spring-petclinic /app
RUN mvn install -Dmaven.test.skip=true