mag-markov/Dockerfile

18 lines
318 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
2024-04-17 00:42:52 +00:00
RUN update-ca-certificates
2024-04-17 00:04:46 +00:00
RUN apt update
RUN apt upgrade
RUN apt install -y openssl
2024-04-16 23:35:21 +00:00
WORKDIR /app
COPY --from=build /mag-markov/target/release/mag-markov .
CMD /app/mag-markov