Minor adjustments to docker

This commit is contained in:
Ethan Frey 2020-02-18 22:37:33 +01:00
parent 2cf59960e8
commit 81e4b66919
2 changed files with 5 additions and 1 deletions

View File

@ -8,4 +8,4 @@ touch /root/log/wasmd.log
sleep 4
echo Starting Rest Server...
wasmcli rest-server --laddr tcp://0.0.0.0:1317 --trust-node --cors
./run_wasmcli.sh

4
docker/run_rest_server.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash
set -euo pipefail
wasmcli rest-server --laddr tcp://0.0.0.0:1317 --trust-node --cors