forked from askmike/gekko
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
also install GB deps in docker build, fix askmike#2278
- Loading branch information
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|