#!/bin/bash
set -e

if [[ "$*" == npm*start* ]]; then
  npm install -g --production

  chown -R app "$NODE_CONTENT"

  set -- gosu app "$@"
fi

exec "$@"
#!/bin/bash
set -e

if [[ "$*" == npm*start* ]]; then
  npm install --production

  chown -R app "$NODE_CONTENT"

  set -- gosu app "$@"
fi

exec "$@"
Revert "Don't pollute the Volume"
Revert "Don't pollute the Volume"

This reverts commit 4801ba49c37d604b840652627b26c4516d76ffc6.
