Skip to content

Commit 1066c87

Browse files
committed
feat: edited the Dockerfile to take advantage of cargo chef cache
1 parent a0cd86c commit 1066c87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ FROM planner AS builder
3737

3838
COPY --from=planner /usr/purple-sector/recipe.json recipe.json
3939
# Build dependencies - this is the caching Docker layer!
40-
RUN cargo chef cook --recipe-path recipe.json
40+
RUN cargo chef cook --release --recipe-path recipe.json
4141

4242
RUN rm -rf src bin/* crates/*
4343

0 commit comments

Comments
 (0)