diff --git a/petstore/petstorepetservice/Dockerfile b/petstore/petstorepetservice/Dockerfile index 03fd7a0..7a42f0e 100755 --- a/petstore/petstorepetservice/Dockerfile +++ b/petstore/petstorepetservice/Dockerfile @@ -2,10 +2,10 @@ # Build stage # FROM maven:3.8.4-openjdk-17-slim AS build -#WORKDIR /build -WORKDIR petstore/petstorepetservice -COPY pom.xml . -COPY src ./src +WORKDIR /build +#WORKDIR petstore/petstorepetservice +COPY petstore/petstorepetservice/pom.xml . +COPY petstore/petstorepetservice/src ./src RUN mvn clean package #