diff --git a/Dockerfile b/Dockerfile index cc2ab70..bfbe366 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,4 +14,4 @@ RUN npm install CMD sh boot.sh ONBUILD ADD . /app/ -ONBUILD RUN cd /usr/src/app && npm install +ONBUILD RUN cd /usr/src/app && npm install && npm install /app diff --git a/boot.sh b/boot.sh index f2743af..7062b1e 100644 --- a/boot.sh +++ b/boot.sh @@ -1,5 +1,7 @@ #! /bin/sh + ## Install new dependencies +npm install /app npm install ./node_modules/supervisor/lib/cli-wrapper.js \