fix docker build

This commit is contained in:
Bryan Stitt 2022-08-06 05:43:02 +00:00
parent 289d6e0249
commit 8eeef81560
2 changed files with 10 additions and 9 deletions

View File

@ -1,8 +1,9 @@
config/*.toml
.git
Dockerfile
redis-cell-server/
target
web3-proxy/flamegraph.svg
web3-proxy/perf.data
web3-proxy/perf.data.old
/config/*.toml
/.git
/data/
/Dockerfile
/redis-cell-server/
/target
/web3-proxy/flamegraph.svg
/web3-proxy/perf.data
/web3-proxy/perf.data.old

View File

@ -4,7 +4,7 @@ WORKDIR /usr/src/web3-proxy
COPY . .
RUN --mount=type=cache,target=/usr/local/cargo/registry \
--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