I came across some problems while trying to create this project myself here is a solution
FROM mcr.microsoft.com/dotnet/aspnet:7.0
WORKDIR /app
COPY --from=build-env /app/out .
RUN sed -i 's/CipherString = DEFAULT@SECLEVEL=2/CipherString = DEFAULT@SECLEVEL=1/g' /etc/ssl/openssl.cnf
ENTRYPOINT ["dotnet", "UserService.dll"]
It is the first change more about it in dotnet/SqlClient#633
Second one is adding TrustServerCertificate=true; to your connection string aka "PlatformsConn" in this project
For now those are all the errors i have spotted i will post more if i find any.