Skip to content

Commit

Permalink
fix: dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
zk-steve committed Mar 9, 2024
1 parent 2742424 commit b43c64f
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 43 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ FROM chef AS builder
COPY --from=planner /app/recipe.json recipe.json
RUN cargo chef cook --release --recipe-path recipe.json
COPY . .
RUN cargo build --release --bin cli
RUN mv target/${CARGO_BUILD_TARGET}/release /out

FROM scratch AS prod
Expand Down
14 changes: 0 additions & 14 deletions src/adapter/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,3 @@ features = ["postgres"]
[dependencies.tokio]
version = "1.36.0"
features = ["full"]

[lib]
path = "src/lib.rs"
name = "adapter"
test = true
doctest = true
bench = true
doc = true
plugin = false
proc-macro = false
harness = true
edition = "2021"
required-features = []
crate-type = ["rlib"]
15 changes: 0 additions & 15 deletions src/common/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
bin = []
bench = []
test = []
example = []
Expand Down Expand Up @@ -40,17 +39,3 @@ features = ["derive"]
[dependencies.tracing-subscriber]
version = "0.3.18"
features = ["env-filter"]

[lib]
path = "src/lib.rs"
name = "common"
test = true
doctest = true
bench = true
doc = true
plugin = false
proc-macro = false
harness = true
edition = "2021"
required-features = []
crate-type = ["rlib"]
14 changes: 0 additions & 14 deletions src/core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,3 @@ version = "0.1.77"
[dependencies.serde]
version = "1.0"
features = ["derive"]

[lib]
path = "src/lib.rs"
name = "rust_core"
test = true
doctest = true
bench = true
doc = true
plugin = false
proc-macro = false
harness = true
edition = "2021"
required-features = []
crate-type = ["rlib"]

0 comments on commit b43c64f

Please sign in to comment.