Use updated 'zebrad seed' command, move binary to root, no workdir
This commit is contained in:
parent
29117f7c73
commit
30f01c6ff0
|
|
@ -56,5 +56,5 @@ jobs:
|
||||||
gcloud compute instance-groups managed create "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
gcloud compute instance-groups managed create "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
||||||
--template "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
--template "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
||||||
--base-instance-name "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
--base-instance-name "zebrad-$SHORT_BRANCH_NAME-$SHA7" \
|
||||||
--size 3 \
|
--size 1 \
|
||||||
--zone "$GCLOUD_ZONE"
|
--zone "$GCLOUD_ZONE"
|
||||||
|
|
|
||||||
|
|
@ -19,8 +19,7 @@ RUN rustc -V; cargo -V; rustup -V; cargo test --all && cargo build --release
|
||||||
|
|
||||||
|
|
||||||
FROM debian:buster-slim
|
FROM debian:buster-slim
|
||||||
WORKDIR /zebra
|
COPY --from=builder /zebra/target/release/zebrad /
|
||||||
COPY --from=builder /zebra/target/release/zebrad .
|
|
||||||
EXPOSE 8233
|
EXPOSE 8233
|
||||||
EXPOSE 18233
|
EXPOSE 18233
|
||||||
CMD [ "./zebrad", "seed" ]
|
CMD [ "/zebrad", "start" ]
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue