Fixed deployment dockerfiles. Support any network id in truffle-config

This commit is contained in:
Kirill Fedoseev 2019-09-01 10:47:04 +03:00
parent bacfdf8ea3
commit f27f273d0a
6 changed files with 6 additions and 6 deletions

View File

@ -30,4 +30,4 @@ RUN truffle compile
COPY truffle-config.js /build/truffle-config.js COPY truffle-config.js /build/truffle-config.js
COPY migrations /build/migrations COPY migrations /build/migrations
ENTRYPOINT truffle deploy ENTRYPOINT ["truffle", "deploy"]

View File

@ -10,7 +10,7 @@ module.exports = {
}, },
staging: { staging: {
provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL), provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL),
network_id: '77' network_id: '*'
} }
}, },
compilers: { compilers: {

View File

@ -26,4 +26,4 @@ RUN truffle compile
COPY truffle-config.js /build/truffle-config.js COPY truffle-config.js /build/truffle-config.js
COPY migrations /build/migrations COPY migrations /build/migrations
ENTRYPOINT truffle deploy ENTRYPOINT ["truffle", "deploy"]

View File

@ -10,7 +10,7 @@ module.exports = {
}, },
staging: { staging: {
provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL), provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL),
network_id: '77' network_id: '*'
} }
}, },
compilers: { compilers: {

View File

@ -30,4 +30,4 @@ RUN truffle compile
COPY truffle-config.js /build/truffle-config.js COPY truffle-config.js /build/truffle-config.js
COPY migrations /build/migrations COPY migrations /build/migrations
ENTRYPOINT truffle deploy ENTRYPOINT ["truffle", "deploy"]

View File

@ -10,7 +10,7 @@ module.exports = {
}, },
staging: { staging: {
provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL), provider: new PrivateKeyProvider(PRIVATE_KEY, RPC_URL),
network_id: '77' network_id: '*'
} }
}, },
compilers: { compilers: {