We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e953939 commit 9c78bafCopy full SHA for 9c78baf
1 file changed
docker/Dockerfile
@@ -24,11 +24,11 @@ RUN apt-get update && apt-get install -y clang lld
24
FROM chef AS builder
25
WORKDIR /iota
26
27
-COPY Cargo.toml ./
+COPY Cargo.toml Cargo.lock ./
28
COPY src ./src
29
ARG ENTRY_BINARY=iota-gas-station
30
31
-RUN xx-cargo build --release --target-dir ./build
+RUN xx-cargo build --locked --release --target-dir ./build
32
RUN xx-verify "./build/$(xx-cargo --print-target-triple)/release/${ENTRY_BINARY}"
33
34
# move binary to a location we can access it more easily in `FROM` command
0 commit comments