fix(docker): Copy lightwalletd from the correct path during Docker builds (#4886)

* Copy lightwalletd from the updated Docker path

* Try the build path instead

* Fix the build stage entrypoint path
This commit is contained in:
teor 2022-08-03 23:29:49 -07:00 committed by GitHub
parent 6ff0a42318
commit f804ff6238
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View File

@ -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"]
##