From 704c3ed18da4676c6714c3564923b8054c047e07 Mon Sep 17 00:00:00 2001 From: bendanzhentan <455462586@qq.com> Date: Fri, 1 Dec 2023 18:02:14 +0800 Subject: [PATCH] Dockerfile: fix volumned files --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3423979..6668f13 100644 --- a/Dockerfile +++ b/Dockerfile @@ -22,8 +22,10 @@ RUN make build-go FROM alpine:3.18 -COPY --from=builder /app/bot /usr/local/bin +COPY --from=builder /app/bot /usr/local/bin +COPY --from=builder /app/bot.testnet.toml /bot.testnet.toml +COPY --from=builder /app/bot.mainnet.toml /bot.mainnet.toml WORKDIR /app -CMD ["bot", "run", "--config", "/app/bot.testnet.toml"] +CMD ["bot", "run", "--config", "/bot.testnet.toml"]