Fixed deployment dockerfiles. Support any network id in truffle-config
This commit is contained in:
parent
bacfdf8ea3
commit
f27f273d0a
|
@ -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"]
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in New Issue