Skip to content

Commit

Permalink
fix docker issues
Browse files Browse the repository at this point in the history
Signed-off-by: Nitesh Balusu <84944042+niteshbalusu11@users.noreply.github.com>
  • Loading branch information
niteshbalusu11 committed Sep 29, 2023
1 parent 1773d07 commit ae81d51
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,7 @@ tokio-tungstenite = { version = "0.20.1", features = ["native-tls"] }
futures-util = "0.3.28"
futures = "0.3.28"
rusted-nostr-tools = "0.1.3"

[profile.release]
lto = true
codegen-units = 1
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 build --release
RUN cargo rustc --release -- -C target-feature=+crt-static

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

0 comments on commit ae81d51

Please sign in to comment.