18 lines
318 B
Docker
18 lines
318 B
Docker
FROM docker.io/rust:1.77-bookworm AS build
|
|
WORKDIR /mag-markov
|
|
ADD . .
|
|
RUN cargo build --release --locked
|
|
|
|
FROM docker.io/debian:bookworm
|
|
|
|
RUN update-ca-certificates
|
|
|
|
RUN apt update
|
|
RUN apt upgrade
|
|
RUN apt install -y openssl
|
|
|
|
WORKDIR /app
|
|
COPY --from=build /mag-markov/target/release/mag-markov .
|
|
|
|
CMD /app/mag-markov
|