wordlebot/Dockerfile
2023-07-07 17:40:32 +02:00

13 lines
319 B
Docker

FROM rust:1-bookworm as builder
WORKDIR /usr/src/wordlebot
COPY . .
RUN cargo install --path .
FROM debian:bookworm-slim
RUN apt-get update \
&& apt-get install -y libssl3 ca-certificates \
&& rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/wordlebot /usr/local/bin/wordlebot
CMD ["wordlebot"]