How to create docker image having dependencies

I’m working on a project, which has developed in 3.5 and having different dependencies like third party dll’s and different scripts. Db used sql server. How could I create a docker images for this entire project?
thanks & regards

I believe you should build your container with a base Microsoft ASP.NET container and place any dependencies / scripts inside. Here is a link on the dockerhub (, make sure to pull the tag reflecting your version, ie. aspnet:3.5.

To communicate with a DB you should probably create a docker-compose.yml and add any container dependencies, like mysql, that your application needs to communicate with at runtime.