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 /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

View File

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