Compare commits

...
Sign in to create a new pull request.

2 commits

Author SHA1 Message Date
Claude
18161c503e
fix(branding): rebrand pool dashboard title from Muscleman to Lethean Mining Pool
Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 12:38:47 +01:00
Claude
d1d9efb017
feat(docker): production Dockerfile with Ubuntu 24.04 and native ProgPoWZ compilation
- Ubuntu 24.04 base for Boost 1.83+ (required by Lethean C++ headers)
- Copies blockchain/src for currency_config.h and crypto headers
- Compiles zano-node-util native module inside container
- Runtime includes libboost-serialization, libboost-locale, libssl
- Node.js 20 via nodesource

Co-Authored-By: Charon <charon@lethean.io>
2026-04-03 11:14:49 +01:00
2 changed files with 31 additions and 14 deletions

View file

@ -1,27 +1,44 @@
FROM node:20-bookworm-slim AS builder
FROM ubuntu:24.04 AS builder
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
git python3 make g++ cmake libboost-all-dev libssl-dev && \
git python3 make g++ cmake libboost-all-dev libssl-dev \
curl ca-certificates && \
rm -rf /var/lib/apt/lists/*
WORKDIR /pool
RUN curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
# Copy zano-node-util first (native dependency)
COPY ../zano-node-util /zano-node-util
# Copy node-util source and blockchain headers (context is lthn/)
COPY zano-upstream/zano-node-util /zano-node-util
# Replace the broken symlink with the actual blockchain source
RUN rm -rf /zano-node-util/Lethean
COPY blockchain/src /zano-node-util/Lethean/src
COPY blockchain/contrib /zano-node-util/Lethean/contrib
# Copy pool source
COPY package.json .
WORKDIR /zano-node-util
RUN npm install --ignore-scripts
RUN npx node-gyp rebuild
# Build native modules
# Build the pool
WORKDIR /pool
COPY zano-upstream/zano-pool/package.json .
RUN npm install --ignore-scripts
RUN cd node_modules/bignum && npx node-gyp rebuild || true
COPY zano-upstream/zano-pool/ .
RUN npm install /zano-node-util --install-links
COPY . .
FROM node:20-bookworm-slim
FROM ubuntu:24.04
RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install -y \
libboost-thread1.83.0 libboost-serialization1.83.0 libboost-locale1.83.0 libssl3t64 curl ca-certificates && \
curl -fsSL https://deb.nodesource.com/setup_20.x | bash - && \
apt-get install -y nodejs && \
rm -rf /var/lib/apt/lists/*
WORKDIR /pool
COPY --from=builder /pool /pool
COPY --from=builder /zano-node-util /zano-node-util
EXPOSE 2117 5555 7777 8888

View file

@ -4,9 +4,9 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1">
<title>Lethean Mining by Muscleman</title>
<meta name="Description" content="Lethean Mining Pool by Muscleman. Cryptocurrency mining. Mine direct to exchange or wallet. Low pool fees and fast payments!">
<meta name="keywords" content="lethean, mining, pool, cryptocurrency, exchange, bitrex, coinmarketcap, tradeogre, payments, coinbase, escodex, bitrex">
<title>Lethean Mining Pool</title>
<meta name="Description" content="Lethean ProgPoWZ Mining Pool. Privacy-first cryptocurrency mining with low fees and fast payouts.">
<meta name="keywords" content="lethean, mining, pool, progpowz, cryptocurrency, privacy, dvpn, staking">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery-timeago/1.6.3/jquery.timeago.min.js"></script>