We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
build.rs
1 parent 89aa564 commit 13da9fcCopy full SHA for 13da9fc
Dockerfile
@@ -39,10 +39,14 @@ RUN cargo build --release
39
# build. The touch on all the .rs files is needed, otherwise cargo assumes the
40
# source code didn't change thanks to mtime weirdness.
41
RUN rm -rf src build.rs
42
-COPY --chown=cratesfyi src src/
+
43
COPY --chown=cratesfyi build.rs build.rs
44
+RUN touch build.rs
45
+COPY --chown=cratesfyi src src/
46
+RUN find src -name "*.rs" -exec touch {} \;
47
COPY --chown=cratesfyi templates/style.scss templates/
-RUN touch build.rs && find src -name "*.rs" -exec touch {} \; && cargo build --release
48
49
+RUN cargo build --release
50
51
ADD templates templates/
52
ADD css $CRATESFYI_PREFIX/public_html
0 commit comments