Build from Dockerfile to improve caching
Some checks failed
Core Repos/ImageApi/pipeline/pr-master There was a failure building this commit

This should improve build times with changes that don't change the
dependencies in Cargo.toml.
This commit is contained in:
Cameron Cordes
2021-12-24 10:33:26 -05:00
parent 1e3f33c2d3
commit 6e39f8c58e
3 changed files with 8 additions and 4 deletions

4
Dockerfile.ci Normal file
View File

@@ -0,0 +1,4 @@
FROM rust:1.55
COPY Cargo.toml .
RUN cargo fetch
COPY src/ ./src/