do the install way
This commit is contained in:
parent
719102c4f0
commit
f96cd7d70a
@ -9,13 +9,13 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||
--mount=type=cache,target=/usr/src/web3_proxy/target \
|
||||
cargo test &&\
|
||||
cargo doc &&\
|
||||
cargo build --locked --release
|
||||
cargo install --locked --path ./web3_proxy
|
||||
|
||||
FROM debian:bullseye-slim
|
||||
|
||||
COPY --from=builder /usr/src/web3_proxy/target/doc /usr/local/share/web3_proxy
|
||||
COPY --from=builder /usr/src/web3_proxy/target/release/web3_proxy /usr/local/bin/web3_proxy
|
||||
COPY --from=builder /usr/src/web3_proxy/target/release/web3_proxy_cli /usr/local/bin/web3_proxy_cli
|
||||
COPY --from=builder /usr/local/cargo/bin/web3_proxy /usr/local/bin/web3_proxy
|
||||
COPY --from=builder /usr/local/cargo/bin/web3_proxy_cli /usr/local/bin/web3_proxy_cli
|
||||
ENTRYPOINT ["web3_proxy"]
|
||||
|
||||
# TODO: lower log level when done with prototyping
|
||||
|
Loading…
Reference in New Issue
Block a user