battlesnake/Dockerfile
Max Känner f9e34d119a
All checks were successful
Build / build (push) Successful in 1m56s
fix docker lint
2025-01-16 20:18:02 +01:00

12 lines
217 B
Docker

FROM rust:1.81-bookworm AS build
COPY battlesnake/ /usr/app
WORKDIR /usr/app
RUN cargo install --path .
FROM debian:bookworm
COPY --from=build /usr/local/cargo/bin/battlesnake /bin/battlesnake
CMD ["battlesnake"]