Skip to content

Commit

Permalink
Alpine
Browse files Browse the repository at this point in the history
  • Loading branch information
Loudbooks committed Dec 10, 2024
1 parent 8682144 commit 84c67a6
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
Expand Up @@ -3,9 +3,9 @@ FROM rust:latest AS builder
COPY ./Cargo.toml ./Cargo.lock ./
RUN cargo fetch
COPY ./src ./src
RUN cargo build --release
RUN cargo build --release --target x86_64-unknown-linux-musl

FROM ubuntu:noble
FROM alpine:latest

COPY --from=builder target/release/backend /usr/local/bin/backend

Expand Down

0 comments on commit 84c67a6

Please sign in to comment.