mirror of
https://github.com/spring-projects/spring-petclinic.git
synced 2025-07-19 14:05:50 +00:00
Update Dockerfile
This commit is contained in:
parent
6c337299a0
commit
c5568f8b8f
1 changed files with 1 additions and 1 deletions
|
@ -4,7 +4,7 @@ WORKDIR /app
|
||||||
RUN echo "Switch started"
|
RUN echo "Switch started"
|
||||||
RUN git clone https://github.com/Sanjeev435/spring-petclinic.git
|
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
|
WORKDIR /app
|
||||||
COPY --from=clone /app/spring-petclinic /app
|
COPY --from=clone /app/spring-petclinic /app
|
||||||
RUN mvn install -Dmaven.test.skip=true
|
RUN mvn install -Dmaven.test.skip=true
|
||||||
|
|
Loading…
Reference in a new issue