Deployment of Strapi in OpenShift environment

Hi all,
I am trying to deploy Strapi in my OpenShift environment with limited access to the internet. After running the command “npx create-strapi-app@latest strapi --quickstart --no-run --skip-cloud”, I am getting the following error
npm ERR! code 1
npm ERR! path /projects/myworkspace/test/payload/strapi/node_modules/sharp
npm ERR! command failed
npm ERR! sharp: Please see sharp - High performance Node.js image processing for required dependencies
npm ERR! sharp: Installation error: getaddrinfo ENOTFOUND github.com
Unfortunately, we donot have direct access to GitHub as we use Jfrog artifactory. Can anyone please help me on how to resolve this issue?
Thank you,
Rakesh