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:
parent
6ff0a42318
commit
f804ff6238
|
|
@ -92,7 +92,7 @@ FROM deps AS tests
|
||||||
# TODO: do not hardcode the user /root/ even though is a safe assumption
|
# TODO: do not hardcode the user /root/ even though is a safe assumption
|
||||||
# Pre-download Zcash Sprout, Sapling parameters and Lightwalletd binary
|
# 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/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,
|
# 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.
|
# and build it to cache all possible sentry and test dependencies.
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ RUN set -ex; \
|
||||||
echo "rpcport=8232"; \
|
echo "rpcport=8232"; \
|
||||||
} > "${ZCASHD_CONF_PATH}"
|
} > "${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"]
|
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"]
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue