Skip to content

Commit

Permalink
update docker file to use cargo build
Browse files Browse the repository at this point in the history
Signed-off-by: Nitesh Balusu <[email protected]>
  • Loading branch information
niteshbalusu11 committed Feb 28, 2024
1 parent 3f97423 commit e24202d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ WORKDIR /app
COPY . .

# Build the Rust project
RUN cargo rustc --release -- -C target-feature=+crt-static
RUN cargo build --release

# Second stage: Create a smaller runtime image
FROM debian:buster-slim
Expand Down

0 comments on commit e24202d

Please sign in to comment.