node-red-docker/nri

7 lines
105 B
Bash
Executable File

#!/bin/bash
DIR=$(dirname "$0")
DATA_DIR="$DIR/data/$(hostname)"
cd $DATA_DIR
npm install --save $1
cd -