Browse Source

Add init script

priv
Luke Childs 7 years ago
parent
commit
4e0fc1327b
  1. 4
      Dockerfile
  2. 4
      bin/init

4
Dockerfile

@ -21,3 +21,7 @@ RUN git clone https://github.com/jl777/SuperNET && \
cd SuperNET/iguana && \
git checkout spvdex && \
./m_mm
COPY ./bin /usr/local/bin
ENTRYPOINT ["init"]
EXPOSE 7783

4
bin/init

@ -0,0 +1,4 @@
#!/bin/bash
cd ~/SuperNET/iguana
command ./marketmaker "{\"gui\":\"nogui\",\"client\":1, \"userhome\":\"/${HOME#"/"}\", \"passphrase\":\"$PASSPHRASE\", \"coins\":$COINS}"
Loading…
Cancel
Save