fix docker build
This commit is contained in:
parent
289d6e0249
commit
8eeef81560
|
@ -1,8 +1,9 @@
|
||||||
config/*.toml
|
/config/*.toml
|
||||||
.git
|
/.git
|
||||||
Dockerfile
|
/data/
|
||||||
redis-cell-server/
|
/Dockerfile
|
||||||
target
|
/redis-cell-server/
|
||||||
web3-proxy/flamegraph.svg
|
/target
|
||||||
web3-proxy/perf.data
|
/web3-proxy/flamegraph.svg
|
||||||
web3-proxy/perf.data.old
|
/web3-proxy/perf.data
|
||||||
|
/web3-proxy/perf.data.old
|
||||||
|
|
|
@ -4,7 +4,7 @@ WORKDIR /usr/src/web3-proxy
|
||||||
COPY . .
|
COPY . .
|
||||||
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
--mount=type=cache,target=/usr/src/web3-proxy/target \
|
--mount=type=cache,target=/usr/src/web3-proxy/target \
|
||||||
cargo install --locked --path ./web3-proxy
|
cargo install --locked --path ./web3_proxy
|
||||||
|
|
||||||
FROM debian:bullseye-slim
|
FROM debian:bullseye-slim
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue