12 lines
345 B
Docker
12 lines
345 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 extra-runtime-dependencies libssl3 ca-certificates \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
COPY --from=builder /usr/local/cargo/bin/wordlebot /usr/local/bin/wordlebot
|
|
CMD ["wordlebot"]
|