Changed order in Dockerfile.e2e to utilize docker build cache
This commit is contained in:
parent
b085c00616
commit
a1b85a7cc1
@ -9,12 +9,18 @@ COPY ui-e2e/package.json ./ui-e2e/
|
||||
COPY monitor/package.json ./monitor/
|
||||
COPY contracts/package.json ./contracts/
|
||||
COPY ui/lib/web3-eth/index.js ./ui/lib/web3-eth/index.js
|
||||
|
||||
COPY yarn.lock .
|
||||
|
||||
RUN yarn install
|
||||
COPY . .
|
||||
|
||||
COPY contracts contracts
|
||||
RUN yarn workspace poa-parity-bridge-contracts run compile
|
||||
RUN cd contracts-2.2.0 && rm -f package-lock.json && npm install --silent && npm install --silent truffle@4.1.11 && npm run compile && cd deploy && rm -f package-lock.json && npm install --silent && npm install --silent web3@1.0.0-beta.33
|
||||
RUN yarn workspace ui run compile:contracts && yarn workspace ui run postinstall
|
||||
RUN cd contracts/deploy && rm -f package-lock.json && npm install
|
||||
|
||||
COPY contracts-2.2.0 contracts-2.2.0
|
||||
RUN cd contracts-2.2.0 && rm -f package-lock.json && npm install --silent && npm install --silent truffle@4.1.11 && npm run compile && cd deploy && rm -f package-lock.json && npm install --silent && npm install --silent web3@1.0.0-beta.33
|
||||
|
||||
COPY ui ui
|
||||
RUN yarn workspace ui run compile:contracts && yarn workspace ui run postinstall
|
||||
|
||||
COPY . .
|
||||
|
Loading…
Reference in New Issue
Block a user