fix docker for workspace
This commit is contained in:
parent
e4637866aa
commit
4f38949eaa
@ -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 . .
|
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 --path .
|
cargo install --path ./web3-proxy
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
|
# RUN apt-get update && apt-get install -y extra-runtime-dependencies && rm -rf /var/lib/apt/lists/*
|
||||||
|
Loading…
Reference in New Issue
Block a user