Skip to content

Commit

Permalink
build: make executable smaller
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentin Correia committed Dec 30, 2024
1 parent aa5bc6f commit 6293608
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ RUN cargo chef cook --recipe-path recipe.json --release
# (4) actual project build
COPY . .
RUN cargo build -r
RUN strip /app/target/release/fiars

# (5) runtime image, you can use any base image you want
FROM scratch AS runtime
Expand Down

0 comments on commit 6293608

Please sign in to comment.