I am building a custom Docker Image of a Node/Nextjs app that will be used in a CI/CD to Azure App Service behind a corporate proxy.
I am able to 'npm install' locally by setting up .npmrc so I am not getting SSL issues locally. Though when I am developing in the local Dockerfile , I receive 'npm ERR! Unable_to_get_issuer_cert_locally' during my 'RUN npm install'.
My question is how/what are the best practices for configuring node (with env variables) within an image/container behind a proxy so that I can develop locally and deploy to App Service via pipeline.