File tree Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Expand file tree Collapse file tree 1 file changed +8
-3
lines changed Original file line number Diff line number Diff line change @@ -39,11 +39,16 @@ RUN cargo build --release
39
39
# build. The touch on all the .rs files is needed, otherwise cargo assumes the
40
40
# source code didn't change thanks to mtime weirdness.
41
41
RUN rm -rf src build.rs
42
- COPY --chown=cratesfyi src src/
42
+
43
43
COPY --chown=cratesfyi build.rs build.rs
44
- COPY --chown=cratesfyi templates templates/
45
- RUN touch build.rs && find src -name "*.rs" -exec touch {} \; && cargo build --release
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/
48
+
49
+ RUN cargo build --release
46
50
51
+ ADD templates templates/
47
52
ADD css $CRATESFYI_PREFIX/public_html
48
53
49
54
ENV DOCS_RS_DOCKER=true
You can’t perform that action at this time.
0 commit comments