From 12663a588f4f173cf63dd2efbeb382a623409a81 Mon Sep 17 00:00:00 2001 From: Hermes Agent Date: Sat, 12 Sep 2026 11:57:58 +0200 Subject: [PATCH] Fixed publish alias --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index e20063f..94e1d07 100644 --- a/Dockerfile +++ b/Dockerfile @@ -16,6 +16,7 @@ COPY . . WORKDIR "/app_source" RUN dotnet build "PostFundManagement.slnx" -c Release 1>&2 +FROM build AS publish WORKDIR "/app_source/PostFundManagement.Api" RUN dotnet publish "PostFundManagement.Api.csproj" -c Release --no-restore -o /app/publish @@ -23,4 +24,4 @@ FROM base AS final WORKDIR /app COPY --from=publish /app/publish . ENV ASPNETCORE_FORWARDEDHEADERS_ENABLED=true -ENTRYPOINT ["dotnet", "PostFundManagement.Api.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "PostFundManagement.Api.dll"]