Update Dockerfile and docker-compose.yaml for build process and volume configuration

This commit is contained in:
2026-01-06 12:55:54 +01:00
parent 6a0f1771f6
commit 301f6d6202
2 changed files with 6 additions and 1 deletions

View File

@@ -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" ]