From 4f38949eaaefb75711f9004d107c5c4907d89fbb Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Thu, 5 May 2022 22:28:20 +0000 Subject: [PATCH] fix docker for workspace --- .dockerignore | 6 +++++- Dockerfile | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/.dockerignore b/.dockerignore index a6f89c2d..ab0db220 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1 +1,5 @@ -/target/ \ No newline at end of file +flamegraph.svg +perf.data +perf.data.old +/target +/web3-proxy/data/config/*.toml diff --git a/Dockerfile b/Dockerfile index cb67ae6a..566eb686 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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/*