Compare commits

2 Commits

Author SHA1 Message Date
4ddf4656a1 WIP 2026-01-06 12:57:53 +01:00
301f6d6202 Update Dockerfile and docker-compose.yaml for build process and volume configuration 2026-01-06 12:55:54 +01:00
2 changed files with 5 additions and 1 deletions

View File

@@ -21,4 +21,5 @@ 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; black_hole_share;

View File

@@ -6,6 +6,9 @@ services:
container_name: black_hole_share
volumes:
- ./data:/data
- ./src:/data/src
- .Cargo.lock:/data/.Cargo.lock
- .Cargo.toml:/data/.Cargo.toml
- /etc/localtime:/etc/localtime:ro
environment:
- TZ="Europe/Rome"