aboutsummaryrefslogtreecommitdiffstats
path: root/packages/migrations/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'packages/migrations/Dockerfile')
-rw-r--r--packages/migrations/Dockerfile13
1 files changed, 13 insertions, 0 deletions
diff --git a/packages/migrations/Dockerfile b/packages/migrations/Dockerfile
new file mode 100644
index 000000000..ce4d6e867
--- /dev/null
+++ b/packages/migrations/Dockerfile
@@ -0,0 +1,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\""]
+