Build from Dockerfile to improve caching #18
@@ -1,4 +1,4 @@
|
||||
FROM rust:1.55
|
||||
COPY Cargo.toml .
|
||||
RUN cargo fetch
|
||||
RUN echo "fn main() {}" > ./src/main.rs && cargo fetch
|
||||
COPY src/ ./src/
|
||||
|
||||
Reference in New Issue
Block a user