From 7a59d300d46e06133bb04d4e08340b67c8b7b772 Mon Sep 17 00:00:00 2001 From: Santhosh S <913341@dadeschools.net> Date: Mon, 25 Sep 2023 23:26:54 -0400 Subject: [PATCH] Response project name conflict --- .../DamageAssesment.Api.SurveyResponses/Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DamageAssesmentApi/DamageAssesment.Api.SurveyResponses/Dockerfile b/DamageAssesmentApi/DamageAssesment.Api.SurveyResponses/Dockerfile index 0001073..6f34876 100644 --- a/DamageAssesmentApi/DamageAssesment.Api.SurveyResponses/Dockerfile +++ b/DamageAssesmentApi/DamageAssesment.Api.SurveyResponses/Dockerfile @@ -6,16 +6,16 @@ EXPOSE 80 FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src -COPY ["DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.SurveyResponses.csproj", "DamageAssesment.Api.SurveyResponses/"] -RUN dotnet restore "DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.SurveyResponses.csproj" +COPY ["DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.Responses.csproj", "DamageAssesment.Api.SurveyResponses/"] +RUN dotnet restore "DamageAssesment.Api.SurveyResponses/DamageAssesment.Api.Responses.csproj" COPY . . WORKDIR "/src/DamageAssesment.Api.SurveyResponses" RUN dotnet build "DamageAssesment.Api.SurveyResponses.csproj" -c Release -o /app/build FROM build AS publish -RUN dotnet publish "DamageAssesment.Api.SurveyResponses.csproj" -c Release -o /app/publish /p:UseAppHost=false +RUN dotnet publish "DamageAssesment.Api.Responses.csproj" -c Release -o /app/publish /p:UseAppHost=false FROM base AS final WORKDIR /app COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "DamageAssesment.Api.SurveyResponses.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "DamageAssesment.Api.Responses.dll"] \ No newline at end of file