From aba568589831c55a946cda8b64435cf0550af46e Mon Sep 17 00:00:00 2001 From: Bauke Date: Thu, 6 Oct 2022 19:29:40 +0200 Subject: [PATCH] Copy Askama configuration. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index c4a28e9..ce76614 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,8 +5,8 @@ RUN USER=root cargo new --bin tildes-statistics WORKDIR /tildes-statistics RUN mv src source -# Copy the Cargo files and build in release, caching the dependencies. -COPY Cargo.* . +# Copy the configuration files and build in release, caching the dependencies. +COPY Cargo.lock Cargo.toml askama.toml . RUN cargo build --release # Then copy our code. This way when only the source code changes, the