We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3fe349a commit f37e05eCopy full SHA for f37e05e
1 file changed
Dockerfile
@@ -14,8 +14,9 @@ RUN apt-get update && \
14
# Copy Cargo manifests and cache dependencies
15
COPY Cargo.toml Cargo.lock ./
16
17
-# Create a dummy main file to allow dependency caching
18
-RUN mkdir src && echo "fn main() {}" > src/main.rs
+# Create dummy files to allow dependency caching
+RUN mkdir src && echo "fn main() {}" > src/main.rs && \
19
+ mkdir benches && echo "fn main() {}" > benches/core_benchmarks.rs
20
21
# Build a dummy release binary (to cache dependencies)
22
RUN cargo build --release
0 commit comments