Skip to content
Open
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
8 changes: 6 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
FROM rust:1.72 as builder
FROM rust:alpine3.22 as builder
WORKDIR /usr/src/mosaic

# Install build dependencies for musl libc (what Alpine uses)
RUN apk add --no-cache musl-dev

COPY . .
RUN cargo install --path .

FROM alpine:latest
FROM alpine:3.22
COPY --from=builder /usr/local/cargo/bin/mosaic /usr/local/bin/mosaic

CMD ["mosaic"]
Expand Down