fix: install dependencies in runtime container not only build container, refs NOISSUE
This commit is contained in:
		@@ -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"]
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user