Refactor Dockerfile and docker-compose for improved build process and clarity

This commit is contained in:
2026-01-06 16:33:23 +01:00
parent 292a081e9d
commit 63b780ac11
2 changed files with 7 additions and 4 deletions

View File

@@ -6,9 +6,9 @@ services:
container_name: black_hole_share
volumes:
- ./data:/data
- ./src:/data/src
- ./Cargo.lock:/data/Cargo.lock
- ./Cargo.toml:/data/Cargo.toml
- ./src:/opt/bhs
- ./Cargo.lock:/opt/bhs/Cargo.lock
- ./Cargo.toml:/opt/bhs/Cargo.toml
- /etc/localtime:/etc/localtime:ro
labels: