mag-markov/Dockerfile

16 lines
306 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
2024-04-16 23:54:01 +00:00
FROM docker.io/debian:bookworm
2024-04-17 00:04:46 +00:00
RUN apt update
RUN apt upgrade
2024-04-17 00:47:27 +00:00
RUN apt install -y openssl ca-certificates
2024-04-17 00:04:46 +00:00
2024-04-16 23:35:21 +00:00
WORKDIR /app
COPY --from=build /mag-markov/target/release/mag-markov .
CMD /app/mag-markov