Copy Askama configuration.

This commit is contained in:
Bauke 2022-10-06 19:29:40 +02:00
parent 47a0b22503
commit aba5685898
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 2 additions and 2 deletions

View File

@ -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