Direct X with .NET Core docker container

Hi,

New to docker. I currently have a .NET Core server app running in a container with this:
FROM microsoft/dotnet:aspnetcore-runtime

It would be super if I could get direct write to work in this container (i.e., without a huge increase in memory usage, as you’d see in a container with the full .NET Framework). Will probably play with it a bit to see if copying dll files over works, but thought I would ask if anyone knew whether or not this was possible.

Thanks so much