Skip to content

Commit

Permalink
fix(docker): Copy lightwalletd from the correct path during Docker bu…
Browse files Browse the repository at this point in the history
…ilds (#4886)

* Copy lightwalletd from the updated Docker path

* Try the build path instead

* Fix the build stage entrypoint path
  • Loading branch information
teor2345 authored Aug 4, 2022
1 parent 6ff0a42 commit f804ff6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ FROM deps AS tests
# TODO: do not hardcode the user /root/ even though is a safe assumption
# Pre-download Zcash Sprout, Sapling parameters and Lightwalletd binary
COPY --from=us-docker.pkg.dev/zealous-zebra/zebra/zcash-params /root/.zcash-params /root/.zcash-params
COPY --from=us-docker.pkg.dev/zealous-zebra/zebra/lightwalletd /lightwalletd /usr/local/bin
COPY --from=us-docker.pkg.dev/zealous-zebra/zebra/lightwalletd /opt/lightwalletd /usr/local/bin

# Re-hydrate the minimum project skeleton identified by `cargo chef prepare` in the planner stage,
# and build it to cache all possible sentry and test dependencies.
Expand Down
2 changes: 1 addition & 1 deletion docker/zcash-lightwalletd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ RUN set -ex; \
echo "rpcport=8232"; \
} > "${ZCASHD_CONF_PATH}"

ENTRYPOINT ["/lightwalletd"]
ENTRYPOINT ["/opt/lightwalletd"]
CMD ["--no-tls-very-insecure", "--grpc-bind-addr=0.0.0.0:9067", "--http-bind-addr=0.0.0.0:9068", "--log-file=/dev/stdout", "--log-level=7"]

##
Expand Down

0 comments on commit f804ff6

Please sign in to comment.