This is how to publish an InfoPath form template as a new SharePoint site content type.
SharePoint 2016 Document Libraries - End User Training Manual