diff --git a/Dockerfile b/Dockerfile index 0d7b3e6..e9bba6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,7 +16,7 @@ COPY . . RUN dotnet restore "PostFundManagement.slnx" WORKDIR "/app_source/PostFundManagement.Api" -RUN dotnet build "PostFundManagement.Api.csproj" -c Release -o /app/build +RUN dotnet build "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/build FROM build AS publish RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish