From 063ca71d09b351afef9e5c758da7f834cd74efae Mon Sep 17 00:00:00 2001 From: stefa2k Date: Wed, 20 May 2020 14:49:16 +0200 Subject: [PATCH 1/2] changing working dir of ethdo --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 214051d..a001536 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,8 +12,9 @@ RUN go build FROM debian:buster-slim +RUN mkdir /data WORKDIR /app COPY --from=builder /app/ethdo /app -ENTRYPOINT ["/app/ethdo"] \ No newline at end of file +ENTRYPOINT ["/app/ethdo", "--basedir=/data"] From ad004d4d1bf8885fe5f8f53a275f2108bcc205f6 Mon Sep 17 00:00:00 2001 From: stefa2k <54934211+stefa2k@users.noreply.github.com> Date: Wed, 20 May 2020 14:50:06 +0200 Subject: [PATCH 2/2] adapting documentation --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2b23d41..98d6750 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ If using the filesystem store, the additional parameter `basedir` can be supplie > If using docker as above you can make this directory accessible to docker to make wallets and accounts persistent. For example, for linux you could use the following command to list your wallets on Linux: > > ``` -> docker run -v $HOME/.config/ethereum2/wallets:/data ethdo --basedir=/data wallet list +> docker run -v $HOME/.config/ethereum2/wallets:/data ethdo wallet list > ``` > > This will allow you to use `ethdo` with or without docker, with the same location for wallets and accounts.