Fix CI
Run cargo test / Run tests (push) Successful in 3m18s
Build Docker Package / build (push) Successful in 6m5s

This commit is contained in:
Elias Wendland committed 2026-07-04 23:43:53 +02:00
1 parent a8bc41d2cf
commit a1a458488c
2 files changed
+1

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"]