parent
6b23168d84
commit
c6a7217ebd
1 changed files with 6 additions and 0 deletions
|
@ -2,7 +2,13 @@ FROM rust:1.62.0-slim-buster
|
|||
|
||||
WORKDIR /app
|
||||
|
||||
RUN cargo init .
|
||||
|
||||
COPY Cargo.* ./
|
||||
|
||||
RUN cargo build --release \
|
||||
&& rm -rf src
|
||||
|
||||
COPY ./src ./src
|
||||
|
||||
RUN cargo install --bin vnetod --path . \
|
||||
|
|
Loading…
Reference in a new issue