Optimized a little bit dockerfiles for deploying

This commit is contained in:
Kirill Fedoseev 2019-11-15 10:01:41 +03:00
parent 3fa391cef5
commit c953c8c21b
3 changed files with 3 additions and 6 deletions

View File

@ -9,8 +9,6 @@ RUN npm install truffle-hdwallet-provider
RUN truffle obtain --solc 0.5.9
COPY truffle-config-build.js /build/truffle-config.js
RUN mkdir temp \
&& cd temp \
&& truffle init \
@ -19,6 +17,7 @@ RUN mkdir temp \
&& cd .. \
&& rm -rf temp
COPY truffle-config-build.js /build/truffle-config.js
COPY contracts/openzeppelin-solidity /build/contracts/openzeppelin-solidity
RUN truffle compile

View File

@ -9,8 +9,6 @@ RUN npm install truffle-hdwallet-provider
RUN truffle obtain --solc 0.5.9
COPY truffle-config-build.js /build/truffle-config.js
RUN mkdir temp \
&& cd temp \
&& truffle init \
@ -19,6 +17,7 @@ RUN mkdir temp \
&& cd .. \
&& rm -rf temp
COPY truffle-config-build.js /build/truffle-config.js
COPY contracts /build/contracts
RUN truffle compile

View File

@ -9,8 +9,6 @@ RUN npm install truffle-hdwallet-provider
RUN truffle obtain --solc 0.5.9
COPY truffle-config-build.js /build/truffle-config.js
RUN mkdir temp \
&& cd temp \
&& truffle init \
@ -19,6 +17,7 @@ RUN mkdir temp \
&& cd .. \
&& rm -rf temp
COPY truffle-config-build.js /build/truffle-config.js
COPY contracts/openzeppelin-solidity /build/contracts/openzeppelin-solidity
RUN truffle compile