Update NODE_ENV: "production" in buildspec.yml which we are using for build stage. [Link](https://github.com/opensearch-project/oui-docs-cdk/blob/70567eb7662a0178f2dc141cf5d9e2fd4880acf0/codepipeline/build-spec.yml#LL6C8-L6C8)