Skip to content

Commit

Permalink
also install GB deps in docker build, fix askmike#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 [email protected] [email protected] [email protected] 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.