Skip to content

Commit a846593

Browse files
committed
fix: dockerfile
1 parent 2742424 commit a846593

File tree

4 files changed

+1
-43
lines changed

4 files changed

+1
-43
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ FROM chef AS builder
1616
COPY --from=planner /app/recipe.json recipe.json
1717
RUN cargo chef cook --release --recipe-path recipe.json
1818
COPY . .
19+
RUN cargo build --release --bin cli
1920
RUN mv target/${CARGO_BUILD_TARGET}/release /out
2021

2122
FROM scratch AS prod

src/adapter/Cargo.toml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,3 @@ features = ["postgres"]
4040
[dependencies.tokio]
4141
version = "1.36.0"
4242
features = ["full"]
43-
44-
[lib]
45-
path = "src/lib.rs"
46-
name = "adapter"
47-
test = true
48-
doctest = true
49-
bench = true
50-
doc = true
51-
plugin = false
52-
proc-macro = false
53-
harness = true
54-
edition = "2021"
55-
required-features = []
56-
crate-type = ["rlib"]

src/common/Cargo.toml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
bin = []
21
bench = []
32
test = []
43
example = []
@@ -40,17 +39,3 @@ features = ["derive"]
4039
[dependencies.tracing-subscriber]
4140
version = "0.3.18"
4241
features = ["env-filter"]
43-
44-
[lib]
45-
path = "src/lib.rs"
46-
name = "common"
47-
test = true
48-
doctest = true
49-
bench = true
50-
doc = true
51-
plugin = false
52-
proc-macro = false
53-
harness = true
54-
edition = "2021"
55-
required-features = []
56-
crate-type = ["rlib"]

src/core/Cargo.toml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,3 @@ version = "0.1.77"
1818
[dependencies.serde]
1919
version = "1.0"
2020
features = ["derive"]
21-
22-
[lib]
23-
path = "src/lib.rs"
24-
name = "rust_core"
25-
test = true
26-
doctest = true
27-
bench = true
28-
doc = true
29-
plugin = false
30-
proc-macro = false
31-
harness = true
32-
edition = "2021"
33-
required-features = []
34-
crate-type = ["rlib"]

0 commit comments

Comments
 (0)