mirror of
https://github.com/house-of-vanity/desubot.git
synced 2025-07-06 04:14:07 +00:00
15 lines
362 B
Docker
15 lines
362 B
Docker
# syntax=docker/dockerfile:1
|
|
|
|
FROM rust:bookworm AS builder
|
|
WORKDIR /desubot
|
|
ADD ./ /desubot/
|
|
RUN cargo build --release
|
|
|
|
FROM debian:bookworm
|
|
WORKDIR /storage
|
|
COPY --from=builder /desubot/target/release/desubot /usr/bin/
|
|
COPY mystem /usr/bin/
|
|
RUN apt update && apt install -y fontconfig openssl ca-certificates && rm -rf /var/lib/apt/lists/*
|
|
ENTRYPOINT desubot
|
|
|