File tree Expand file tree Collapse file tree 6 files changed +451
-12
lines changed Expand file tree Collapse file tree 6 files changed +451
-12
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ COPY ./packages/bitcore-lib-cash/package.json ./packages/bitcore-lib-cash/packag
10
10
COPY ./packages/bitcore-p2p/package.json ./packages/bitcore-p2p/package.json
11
11
COPY ./packages/bitcore-p2p-cash/package.json ./packages/bitcore-p2p-cash/package.json
12
12
COPY ./packages/bitcore-wallet-client/package.json ./packages/bitcore-wallet-client/package.json
13
+ COPY ./packages/bitcore-client/package.json ./packages/bitcore-client/package.json
13
14
COPY ./packages/bitcore-wallet/package.json ./packages/bitcore-wallet/package.json
14
15
COPY ./packages/bitcore-node/package.json ./packages/bitcore-node/package.json
15
16
COPY ./packages/insight/package.json ./packages/insight/package.json
Original file line number Diff line number Diff line change @@ -2,24 +2,27 @@ FROM node:8
2
2
3
3
WORKDIR /bitcore
4
4
5
- # Install all deps in all packages
5
+ FROM node:carbon
6
+ WORKDIR /usr/src/app
7
+ COPY package*.json ./
8
+ RUN npm install
9
+ COPY lerna.json ./
10
+
11
+ COPY ./packages/bitcore-mnemonic/package.json ./packages/bitcore-mnemonic/package.json
6
12
COPY ./packages/bitcore-lib/package.json ./packages/bitcore-lib/package.json
7
13
COPY ./packages/bitcore-lib-cash/package.json ./packages/bitcore-lib-cash/package.json
8
14
COPY ./packages/bitcore-p2p/package.json ./packages/bitcore-p2p/package.json
9
15
COPY ./packages/bitcore-p2p-cash/package.json ./packages/bitcore-p2p-cash/package.json
10
16
COPY ./packages/bitcore-wallet-client/package.json ./packages/bitcore-wallet-client/package.json
17
+ COPY ./packages/bitcore-client/package.json ./packages/bitcore-client/package.json
11
18
COPY ./packages/bitcore-wallet/package.json ./packages/bitcore-wallet/package.json
12
19
COPY ./packages/bitcore-node/package.json ./packages/bitcore-node/package.json
13
20
COPY ./packages/insight/package.json ./packages/insight/package.json
14
- COPY ./packages/bitcore-mnemonic/package.json ./packages/bitcore-mnemonic/package.json
15
- COPY ./package.json package.json
16
- COPY ./package-lock.json package-lock.json
17
- RUN npm install
21
+ COPY ./packages/insight/app/package.json ./packages/insight/app/package.json
18
22
19
- # Run Lerna
20
- COPY ./lerna.json lerna.json
21
23
RUN ./node_modules/.bin/lerna bootstrap
22
24
25
+
23
26
# Add source
24
27
ADD . /bitcore
25
28
Original file line number Diff line number Diff line change 1
1
{
2
2
"lerna" : " 2.9.1" ,
3
- "version" : " 8.0.0"
3
+ "version" : " 8.0.0" ,
4
+ "packages" : [" packages/*" ]
4
5
}
You can’t perform that action at this time.
0 commit comments