Run npm install --production on OpenShift

后端 未结 4 1551
一整个雨季
一整个雨季 2021-02-06 01:53

When I push my code to OpenShift, it looks like it\'s installing my devDependencies which takes forever. I would really love to set it up so it wil

4条回答
  •  情话喂你
    2021-02-06 02:30

    It looks like the only solution is to update the cartridge itself. The npm install command is located in the cartridge's bin/control folder. Meanwhile, it's been fixed in the originating github repo at wshearn/openshift-origin-cartridge-nodejs so you can just install from github rather than using the Quickstart.

提交回复
热议问题