From 24be55a69257cd2a8750cdf1eaa35815ecb2b77f Mon Sep 17 00:00:00 2001 From: Jacodv Date: Thu, 17 Aug 2023 11:56:08 +0200 Subject: [PATCH] Update dockerfile paths --- src/MockApiServer/Dockerfile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/MockApiServer/Dockerfile b/src/MockApiServer/Dockerfile index 07bb173..ec1fff8 100644 --- a/src/MockApiServer/Dockerfile +++ b/src/MockApiServer/Dockerfile @@ -7,10 +7,8 @@ EXPOSE 443 FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src -COPY ["MockApiServer/MockApiServer.csproj", "MockApiServer/"] -RUN dotnet restore "MockApiServer/MockApiServer.csproj" COPY . . -WORKDIR "/src/MockApiServer" +RUN dotnet restore "MockApiServer.csproj" RUN dotnet build "MockApiServer.csproj" -c Release -o /app/build FROM build AS publish