Update Dockerfile and docker-compose.yaml for build process and volume configuration
This commit is contained in:
@@ -21,4 +21,6 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
WORKDIR /data
|
||||
CMD ["black_hole_share"]
|
||||
RUN git clone https://git.qosnet.it/icsboyx/bhs.git
|
||||
CMD cargo build --release; cp ./target/release/black_hole_share /usr/local/bin/black_hole_share;
|
||||
ENTRYPOINT [ "black_hole_share" ]
|
||||
Reference in New Issue
Block a user