Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
target
.git
*.md
assets
5 changes: 4 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
FROM rust:1.78 as builder
# A dependency in Cargo.lock requires the Rust 2024 edition (Rust >= 1.85),
# so the old rust:1.78 base failed to build. Track latest stable 1.x on
# bookworm so the produced binary is glibc-compatible with the runtime stage.
FROM rust:1-bookworm AS builder
WORKDIR /app
COPY . .
RUN cargo build --release
Expand Down
Loading