From 7f6d4d134b28a3465db45d2590ca3867377842e0 Mon Sep 17 00:00:00 2001 From: Bryan Stitt Date: Tue, 27 Jun 2023 12:14:02 -0700 Subject: [PATCH] comment --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index b9393162..7b84c2cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -84,14 +84,14 @@ RUN --mount=type=cache,target=/usr/local/cargo/git \ FROM rust as build_app -# chef cook the app +# chef cook the release app RUN --mount=type=cache,target=/usr/local/cargo/git \ --mount=type=cache,target=/usr/local/cargo/registry \ --mount=type=cache,target=/app/target \ \ cargo chef cook --release --recipe-path recipe.json -# build the application +# build the release application # using a "release" profile (which install does by default) is **very** important # TODO: use the "faster_release" profile which builds with `codegen-units = 1` RUN --mount=type=cache,target=/usr/local/cargo/git \