.Net Core with DI in console app

I need to run Hangfire as a separate app from my main .Net Core 2.0 web app. The web app has a reference to a separate “core” project of services I need to execute with Hangfire.

I have no need for web in the Hangfire app. How do I configure and start up Hangfire and use DI to execute service methods?