Public Access
Add version command, implement Docker support, make sqlx offline work
Run cargo test / Run tests (push) Failing after 3m2s
Run cargo test / Run tests (push) Failing after 3m2s
This commit is contained in:
@@ -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"]
|
||||
Reference in New Issue
Block a user