aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/Dockerfile
blob: ce4d6e867f1f503f264e5ef308c38fee1ce0215a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
FROM mhart/alpine-node:10

WORKDIR /usr/src/app

RUN npm install -g ganache-cli@6.1.6
COPY 0x_ganache_snapshot ./0x_ganache_snapshot

ENV MNEMONIC "concert load couple harbor equip island argue ramp clarify fence smart topic"
ENV NETWORK_ID 50

EXPOSE 8545
CMD [ "sh", "-c", "ganache-cli --gasLimit 10000000 --db 0x_ganache_snapshot --noVMErrorsOnRPCResponse -p 8545 --networkId \"$NETWORK_ID\" -m \"$MNEMONIC\""]