How to upgrade the drupal database without internet connectivity

Hi,
I am trying to update Drupal 8.2.x to 8.3.7.

After copying over the core files, do you happen to know if it’s possible to update the database (update.php?) without server connectivity to the internet? Since the servers are behind a firewall, we are unable to completely run automatic updates directly from the servers.

I’m assuming hitting update.php is the only thing we do to upgrade the database. How I can update database without internet connectivity.
Security is concerned about exposing the server to internet for update.

Thanks for any help you can offer.

Thank you
Apparao

Drupal version: 


Source: https://www.drupal.org/taxonomy/term/21/feed