mag-markov/Dockerfile

11 lines
226 B
Docker
Raw Normal View History

2024-04-16 23:35:21 +00:00
FROM docker.io/rust:1.77-bookworm AS build
WORKDIR /mag-markov
ADD . .
RUN cargo build --release --locked
FROM docker.io/alpine:3.19
WORKDIR /app
COPY --from=build /mag-markov/target/release/mag-markov .
CMD /app/mag-markov