Initial commit
This commit is contained in:
commit
5a5f817df7
55 files changed
+3919
No files matched your search
+10
@@ -0,0 +1,10 @@
|
||||
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"]
|
||||
Reference in new issue
Block a user