Skip to content
This repository was archived by the owner on Aug 29, 2018. It is now read-only.

nodejs cartridge: use npm install --production #5215

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cartridges/openshift-origin-cartridge-nodejs/bin/control
Original file line number Diff line number Diff line change
@@ -213,7 +213,7 @@ function build() {

nodejs_context /bin/bash
if [ -f "${OPENSHIFT_REPO_DIR}"/package.json ]; then
(cd "${OPENSHIFT_REPO_DIR}"; nodejs_context "npm install -d")
(cd "${OPENSHIFT_REPO_DIR}"; nodejs_context "npm install --production --loglevel info")
fi
}