From 81009987322b296b307220eee88779a6f7951a52 Mon Sep 17 00:00:00 2001 From: Simon Diesenreiter Date: Sun, 18 May 2025 11:59:52 +0200 Subject: [PATCH] fix: install dependencies in runtime container not only build container, refs NOISSUE --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 9c54cf9..7ba7812 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,5 +14,6 @@ RUN dotnet publish ./song_of_the_day/song_of_the_day.csproj -o out # Build runtime image FROM mcr.microsoft.com/dotnet/aspnet:9.0 WORKDIR /App +RUN apt update && apt install libldap-2.5-0 -y COPY --from=build /App/out . ENTRYPOINT ["dotnet", "song_of_the_day.dll"]