Skip to content

Commit

Permalink
Fix docker builds for forex.analytics (DeviaVir#424)
Browse files Browse the repository at this point in the history
* Add missing node-gyp for forex.analytics

* 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
  • Loading branch information
cmroche authored and DeviaVir committed Jul 31, 2017
1 parent e55a66c commit 9423650
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 --unsafe-perm

COPY . /app

Expand Down

0 comments on commit 9423650

Please sign in to comment.