Skip to content

Commit

Permalink
Dockerfile: fix volumned files
Browse files Browse the repository at this point in the history
  • Loading branch information
bendanzhentan committed Dec 1, 2023
1 parent 49410dd commit 704c3ed
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 704c3ed

Please sign in to comment.