Files
Elias Wendland 5a5f817df7
CI and release / Detect release commit (push) Successful in 2m42s
CI and release / Run tests (push) Successful in 7m18s
CI and release / Build and publish container (push) Failing after 5m12s
CI and release / Create release (push) Skipped
Initial commit
2026-08-07 11:54:42 +02:00

11 lines
343 B
Docker

FROM rust:latest AS builder
WORKDIR /usr/src/tg-archive-bot
COPY . .
RUN SQLX_OFFLINE=true cargo install --path .
FROM debian:trixie
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
COPY --from=builder /usr/local/cargo/bin/tg-archive-bot /usr/local/bin/tg-archive-bot
EXPOSE 3000
CMD ["tg-archive-bot"]