Copy Askama configuration.
This commit is contained in:
parent
47a0b22503
commit
aba5685898
|
@ -5,8 +5,8 @@ RUN USER=root cargo new --bin tildes-statistics
|
||||||
WORKDIR /tildes-statistics
|
WORKDIR /tildes-statistics
|
||||||
RUN mv src source
|
RUN mv src source
|
||||||
|
|
||||||
# Copy the Cargo files and build in release, caching the dependencies.
|
# Copy the configuration files and build in release, caching the dependencies.
|
||||||
COPY Cargo.* .
|
COPY Cargo.lock Cargo.toml askama.toml .
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
# Then copy our code. This way when only the source code changes, the
|
# Then copy our code. This way when only the source code changes, the
|
||||||
|
|
Loading…
Reference in New Issue