From f018c9df839badf3177622d5b2e5d2ccb568cdd2 Mon Sep 17 00:00:00 2001 From: Clifford Roche Date: Sat, 29 Jul 2017 14:22:34 -0400 Subject: [PATCH 1/2] Add missing node-gyp for forex.analytics --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 110df0095b..327f39ad6f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN mkdir -p /app WORKDIR /app COPY package.json /app/ -RUN npm install +RUN npm install -g node-gyp && npm install COPY . /app From e3032df2c3394b8b079b99af0d225bdcbc61dc42 Mon Sep 17 00:00:00 2001 From: Clifford Roche Date: Sat, 29 Jul 2017 16:53:43 -0400 Subject: [PATCH 2/2] Fix docker build of forex.analytics Needs --unsafe-perm option to properly build dependant ta-lib libraries since docker run the container build with root permissions --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 327f39ad6f..4488affa21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ RUN mkdir -p /app WORKDIR /app COPY package.json /app/ -RUN npm install -g node-gyp && npm install +RUN npm install -g node-gyp && npm install --unsafe-perm COPY . /app