From 830d4baf8ad7ba34d9b207fcc6af1b43fc878bae Mon Sep 17 00:00:00 2001 From: Steve Degosserie <723552+stiiifff@users.noreply.github.com> Date: Mon, 27 Oct 2025 20:14:13 +0200 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=94=A7=20Remove=20redundant=20oper?= =?UTF-8?q?ator=20Dockerfile.local=20(#257)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: undercover-cactus --- operator/Dockerfile.local | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 operator/Dockerfile.local diff --git a/operator/Dockerfile.local b/operator/Dockerfile.local deleted file mode 100644 index f1f226b9..00000000 --- a/operator/Dockerfile.local +++ /dev/null @@ -1,25 +0,0 @@ -# Dockerfile.local - Fast local image build using pre-built binary -# Usage: docker build -f Dockerfile.local -t datahaven:local . -# Prerequisite: cargo build --release (or --release --features fast-runtime) - -FROM docker.io/parity/base-bin:latest - -# Copy the pre-built binary from local target directory -COPY ./target/release/datahaven-node /usr/local/bin/datahaven-node - -# Make sure binary is executable -RUN chmod +x /usr/local/bin/datahaven-node - -USER root -RUN useradd -m -u 1001 -U -s /bin/sh -d /datahaven datahaven && \ - mkdir -p /data /datahaven/.local/share && \ - chown -R datahaven:datahaven /data && \ - ln -s /data /datahaven/.local/share/datahaven && \ - /usr/local/bin/datahaven-node --version - -USER datahaven - -EXPOSE 30333 9933 9944 9615 -VOLUME ["/data"] - -ENTRYPOINT ["/usr/local/bin/datahaven-node"]