battlesnake/Dockerfile

12 lines
217 B
Docker
Raw Normal View History

2024-10-03 18:52:29 +02:00
FROM rust:1.81-bookworm as build
2024-09-02 15:16:32 +02:00
2024-09-02 20:00:05 +02:00
COPY battlesnake/ /usr/app
2024-09-02 15:16:32 +02:00
WORKDIR /usr/app
2024-09-02 20:00:05 +02:00
RUN cargo install --path .
2024-09-02 15:16:32 +02:00
2024-10-03 18:52:29 +02:00
FROM debian:bookworm
2024-09-02 20:21:19 +02:00
COPY --from=build /usr/local/cargo/bin/battlesnake /bin/battlesnake
2024-09-02 15:16:32 +02:00
CMD ["battlesnake"]