diff --git a/Dockerfile b/Dockerfile index f0d4eb5..1435b21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,3 +14,6 @@ RUN git submodule update --init RUN apt-get install -y libsecp256k1-0 RUN python3 -m pip install --user . cryptography +ADD ./entrypoint.sh /entrypoint.sh + +ENTRYPOINT ["/entrypoint.sh"] diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100755 index 0000000..f387b86 --- /dev/null +++ b/entrypoint.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +electrum="/electrum/run_electrum --portable" + +$electrum create +$electrum --gui text