wip
This commit is contained in:
@@ -20,7 +20,10 @@ RUN pacman -Syu --noconfirm --needed \
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
VOLUME /opt/bhs
|
||||
COPY src /opt/bhs/
|
||||
COPY Cargo.toml /opt/bhs/
|
||||
COPY Cargo.lock /opt/bhs/
|
||||
|
||||
WORKDIR /opt/bhs
|
||||
RUN cargo build --release && cp ./target/release/black_hole_share /usr/local/bin/black_hole_share && black_hole_share;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user