synor/Dockerfile.explorer
Gulshan Yadav 48949ebb3f Initial commit: Synor blockchain monorepo
A complete blockchain implementation featuring:
- synord: Full node with GHOSTDAG consensus
- explorer-web: Modern React blockchain explorer with 3D DAG visualization
- CLI wallet and tools
- Smart contract SDK and example contracts (DEX, NFT, token)
- WASM crypto library for browser/mobile
2026-01-08 05:22:17 +05:30

50 lines
1.4 KiB
Text

# Synor Block Explorer Backend Dockerfile
# Placeholder for future implementation
# =============================================================================
# Stage 1: Build Environment
# =============================================================================
FROM rust:1.75-bookworm AS builder
# Install build dependencies
RUN apt-get update && apt-get install -y \
cmake \
clang \
libclang-dev \
pkg-config \
libssl-dev \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy manifests
COPY Cargo.toml Cargo.lock ./
COPY crates/ crates/
COPY apps/ apps/
# Build (placeholder - explorer app not yet implemented)
# RUN cargo build --release --bin synor-explorer
# =============================================================================
# Stage 2: Runtime Environment (placeholder)
# =============================================================================
FROM debian:bookworm-slim AS runtime
# Install runtime dependencies
RUN apt-get update && apt-get install -y \
ca-certificates \
libssl3 \
curl \
&& rm -rf /var/lib/apt/lists/*
# Create non-root user
RUN useradd --create-home --shell /bin/bash explorer
USER explorer
WORKDIR /home/explorer
EXPOSE 3000
# Placeholder - the explorer backend is not yet implemented
# This Dockerfile serves as a template for future development
CMD ["echo", "Explorer backend not yet implemented. See apps/explorer for implementation details."]