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

Commit d1b6535

Browse files
committed
also install GB deps in docker build, fix #2278
1 parent 9317f0c commit d1b6535

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

Dockerfile

+9-2
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,19 @@ WORKDIR /usr/src/app
1111
RUN npm install -g --production node-gyp && \
1212
npm cache clean --force
1313

14-
# Install app dependencies
15-
COPY package.json /usr/src/app
14+
# Install Gekko dependencies
15+
COPY package.json .
1616
RUN npm install --production && \
1717
npm install --production [email protected] [email protected] [email protected] pg && \
1818
npm cache clean --force
1919

20+
# Install Gekko Broker dependencies
21+
WORKDIR exchange
22+
COPY exchange/package.json .
23+
RUN npm install --production && \
24+
npm cache clean --force
25+
WORKDIR ../
26+
2027
# Bundle app source
2128
COPY . /usr/src/app
2229

0 commit comments

Comments
 (0)