From c70ebb6010ba03feb754dd58c77385808a7861f1 Mon Sep 17 00:00:00 2001 From: Bernhard Hensler <89590092+bhr-private@users.noreply.github.com> Date: Wed, 18 Oct 2023 18:05:47 +0200 Subject: [PATCH] Update Dockerfile --- petstore/petstorepetservice/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 #