fix docker for workspace

This commit is contained in:
Bryan Stitt 2022-05-05 22:28:20 +00:00
parent e4637866aa
commit 4f38949eaa
2 changed files with 6 additions and 2 deletions

@ -1 +1,5 @@
/target/
flamegraph.svg
perf.data
perf.data.old
/target
/web3-proxy/data/config/*.toml

@ -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 --path .
cargo install --path ./web3-proxy
FROM debian:buster-slim
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*