How to provide a specific node template in a custom module
/**
 * Implements hook_theme().
 */
function custom_theme() {
  return [
    'node__custom_content_type' =&gt; [
      'base hook' =&gt; 'node',
    ],
  ];
}


Then make sure that you have the content type template under custom/templates/node--custom-content-type.html.twig