Skip to content

Commit

Permalink
use proper binary naming in docker file
Browse files Browse the repository at this point in the history
  • Loading branch information
Julian van Dijk committed Dec 5, 2024
1 parent 78afadc commit 287e5bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
FROM rust:latest AS builder

WORKDIR /usr/src/aocbot
WORKDIR /usr/src/JollyFellow
COPY . .
RUN cargo install --path .

FROM rust:1-alpine3.20

COPY --from=builder /usr/local/cargo/bin/aocbot /usr/local/bin/aocbot
CMD ["aocbot"]
COPY --from=builder /usr/local/cargo/bin/JollyFellow /usr/local/bin/JollyFellow
CMD ["JollyFellow"]

0 comments on commit 287e5bf

Please sign in to comment.