Skip to content

Commit

Permalink
Bookworm
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 10, 2024
1 parent a4e2492 commit 1b09246
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions backend/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM rust:latest AS builder
FROM rust:slim-bookworm AS builder

COPY ./Cargo.toml ./Cargo.lock ./
RUN cargo fetch
COPY ./src ./src
RUN cargo build --release

FROM debian:bookworm
FROM debian:bookworm-slim

RUN apt-get update && apt-get install -y libc6
COPY --from=builder target/release/backend /usr/local/bin/backend
Expand Down

0 comments on commit 1b09246

Please sign in to comment.