Add version command, implement Docker support, make sqlx offline work
Run cargo test / Run tests (push) Failing after 3m2s

This commit is contained in:
Elias Wendland committed 2026-07-04 23:27:05 +02:00
1 parent 6f5d66a0bc
commit b06bb882a8
24 files changed
+405 -6

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
FROM rust:latest AS builder
WORKDIR /usr/src/tg-dev-srv-bot
COPY . .
RUN SQLX_OFFLINE=true cargo install --path .
FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/tg-dev-srv-bot /usr/local/bin/tg-dev-srv-bot
CMD ["tg-dev-srv-bot"]