Update WORKDIR in Dockerfile for consistency

This commit is contained in:
2026-01-06 16:35:15 +01:00
parent 0aff6caee7
commit a288859edb

View File

@@ -20,7 +20,7 @@ RUN pacman -Syu --noconfirm --needed \
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y RUN curl https://sh.rustup.rs -sSf | sh -s -- -y
ENV PATH="/root/.cargo/bin:${PATH}" ENV PATH="/root/.cargo/bin:${PATH}"
WORKDIR /opt/black_hole_share WORKDIR /opt/bhs
RUN cargo build --release && cp ./target/release/black_hole_share /usr/local/bin/black_hole_share && black_hole_share; RUN cargo build --release && cp ./target/release/black_hole_share /usr/local/bin/black_hole_share && black_hole_share;
WORKDIR /data WORKDIR /data