Skip to content

Commit

Permalink
Use debug info in release everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
Kobzol committed Mar 15, 2024
1 parent 9c97948 commit 7126eeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,6 @@ migration = { path = "database/migration" }
[dev-dependencies]
insta = "1.26"
derive_builder = "0.20.0"

[profile.release]
debug = 1
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ COPY Cargo.lock .
COPY src src
COPY database database

RUN CARGO_PROFILE_RELEASE_DEBUG=1 cargo build --release
RUN cargo build --release

FROM ubuntu:20.04 as runtime

Expand Down

0 comments on commit 7126eeb

Please sign in to comment.