Fixed publish alias

This commit is contained in:
2026-09-12 11:57:58 +02:00
parent 4738a20f80
commit 12663a588f
+2 -1
View File
@@ -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"]
ENTRYPOINT ["dotnet", "PostFundManagement.Api.dll"]