Skip to content

Commit 904fc51

Browse files
committed
fix(docker): add mock-governance binary to container image
The tendermint docker-compose files require the mock-governance service but it was not being built or copied into the image.
1 parent acd0a4a commit 904fc51

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

etc/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
6767

6868
RUN --mount=type=cache,target=/usr/local/cargo/registry \
6969
--mount=type=cache,target=/usr/local/cargo/git \
70-
cargo build --bin app --bin miner --verbose
70+
cargo build --bin app --bin miner --bin mock-governance --verbose
7171

7272
##RUN --mount=type=cache,target=/usr/local/cargo/registry \
7373
# --mount=type=cache,target=/usr/local/cargo/git \
@@ -88,6 +88,7 @@ FROM debian:bullseye-slim AS runtime
8888
#COPY --from=builder /opt/alys/target/release/app /bin/alys
8989
COPY --from=builder /opt/alys/target/debug/app /bin/alys
9090
COPY --from=builder /opt/alys/target/debug/miner /bin/miner
91+
COPY --from=builder /opt/alys/target/debug/mock-governance /bin/mock-governance
9192
#
9293
## Set the startup command to run your binary
9394
CMD ["alys --dev"]

0 commit comments

Comments
 (0)