Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

Commit

Permalink
also install GB deps in docker build, fix #2278
Browse files Browse the repository at this point in the history
  • Loading branch information
askmike committed Jul 6, 2018
1 parent 9317f0c commit d1b6535
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,19 @@ WORKDIR /usr/src/app
RUN npm install -g --production node-gyp && \
npm cache clean --force

# Install app dependencies
COPY package.json /usr/src/app
# Install Gekko dependencies
COPY package.json .
RUN npm install --production && \
npm install --production redis@0.10.0 talib@1.0.2 tulind@0.8.7 pg && \
npm cache clean --force

# Install Gekko Broker dependencies
WORKDIR exchange
COPY exchange/package.json .
RUN npm install --production && \
npm cache clean --force
WORKDIR ../

# Bundle app source
COPY . /usr/src/app

Expand Down

0 comments on commit d1b6535

Please sign in to comment.