This commit is contained in:
parent
50cfbb6642
commit
9483ad3564
@ -7,8 +7,6 @@ COPY Cargo.lock /home/rust/src/
|
|||||||
RUN mkdir /home/rust/src/src && \
|
RUN mkdir /home/rust/src/src && \
|
||||||
echo 'fn main() {}' > /home/rust/src/src/main.rs
|
echo 'fn main() {}' > /home/rust/src/src/main.rs
|
||||||
|
|
||||||
RUN sudo chown -R rust:rust .
|
|
||||||
|
|
||||||
RUN cargo fetch
|
RUN cargo fetch
|
||||||
RUN cargo build --release
|
RUN cargo build --release
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user