initial commit

This commit is contained in:
2026-04-17 09:49:34 +02:00
commit 8553c710f2
23 changed files with 1212 additions and 0 deletions

25
bot/Dockerfile Normal file
View File

@@ -0,0 +1,25 @@
FROM rust:1.85-bookworm AS builder
WORKDIR /build
RUN apt-get update && apt-get install -y pkg-config libssl-dev
COPY Cargo.toml ./
COPY src ./src
RUN cargo build --release
FROM debian:bookworm-slim
RUN apt-get update && apt-get install -y libssl3 ca-certificates && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY --from=builder /build/target/release/omegle-matrix-client /app/
COPY config.toml /app/config.toml
RUN mkdir -p /data && chown -R 1000:1000 /data
ENV RUST_LOG=info
ENTRYPOINT ["/app/omegle-matrix-client"]